X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAnsible.git;a=blobdiff_plain;f=roles%2Ftools%2Ftemplates%2Fyoutube-viewer.conf.j2;fp=roles%2Ftools%2Ftemplates%2Fyoutube-viewer.conf.j2;h=b12a0a1b8db8ff852ec8a87f9ca81b7f85bce621;hp=310758457f917681d2822307cce00bfb63e938b8;hb=bf4da46633ce3682339ea01bf18c98562fa04c5d;hpb=e2e7cad558fda2d58d91a18c1ad074cb6da39828 diff --git a/roles/tools/templates/youtube-viewer.conf.j2 b/roles/tools/templates/youtube-viewer.conf.j2 index 3107584..b12a0a1 100644 --- a/roles/tools/templates/youtube-viewer.conf.j2 +++ b/roles/tools/templates/youtube-viewer.conf.j2 @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Youtube Viewer 3.3.4 - configuration file +# Youtube Viewer 3.5.1 - configuration file our $CONFIG = { auto_captions => 0, @@ -10,10 +10,13 @@ our $CONFIG = { clobber => 0, colors => 1, combine_multiple_videos => 0, + comments_order => "time", confirm => 0, convert_cmd => "ffmpeg -i *IN* *OUT*", convert_to => undef, copy_caption => 0, + custom_layout => 0, + custom_layout_format => "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n", dash_mp4_audio => 1, dash_support => 1, debug => 0, @@ -23,6 +26,7 @@ our $CONFIG = { downloads_dir => ".", env_proxy => 1, fat32safe => 0, + ffmpeg_cmd => "/usr/bin/ffmpeg", fullscreen => 0, get_captions => 1, get_term_width => 1, @@ -36,8 +40,12 @@ our $CONFIG = { interactive => 1, keep_original_video => 0, maxResults => 20, + merge_into_mkv => 1, + merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", + merge_with_captions => 1, order => undef, page => 1, + prefer_mp4 => 0, publishedAfter => undef, publishedBefore => undef, regionCode => undef, @@ -85,5 +93,6 @@ our $CONFIG = { videoDuration => undef, videoLicense => undef, videoSyndicated => undef, + wget_cmd => "wget", youtube_video_url => "https://www.youtube.com/watch?v=%s", }