[Bash scripting, Live coding] search-in-subs mpv integration #7: mkdir, options to mpv, overwrite

Описание к видео [Bash scripting, Live coding] search-in-subs mpv integration #7: mkdir, options to mpv, overwrite

0:00 Intro
0:10 What we have so far
2:16 Fixes to the work done in the previous session
4:07 Implementing the mkdir option
9:47 Testing the mkdir option
11:57 The --mpv-opts option
14:05 How to parse a string of arguments (potentially quoted) into an array
21:23 Parsing an option string passed as an argument to a Bash script
27:46 --mpv-opts in action
29:42 The overwrite option
34:45 Using ls to display correctly quoted filenames
44:22 The overwrite option in action
45:16 Fix: only check for files to overwrite if using a save option
47:38 Fix: edl_subdir is getting created too early
50:13 Fix: relative paths to videos and subtitles are not generated correctly when using a subdir EDL structure
55:03 A use case for --mpv-opts for testing and development
56:39 The next thing
58:41 Outro

Get bash to respect quotes when word splitting subshell output - Super User: https://superuser.com/questions/15292...
linux - How to split a string with quotes (like command arguments) in bash? - Super User: https://superuser.com/questions/10664...

Extra links:

mpv/DOCS/edl-mpv.rst at master · mpv-player/mpv · GitHub: https://github.com/mpv-player/mpv/blo...
Bash Reference Manual: https://www.gnu.org/software/bash/man...

Комментарии

Информация по комментариям в разработке