summaryrefslogtreecommitdiff
path: root/roles/tools/templates/youtube-viewer.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/tools/templates/youtube-viewer.conf.j2')
-rw-r--r--roles/tools/templates/youtube-viewer.conf.j211
1 files changed, 10 insertions, 1 deletions
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 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3# Youtube Viewer 3.3.4 - configuration file 3# Youtube Viewer 3.5.1 - configuration file
4 4
5our $CONFIG = { 5our $CONFIG = {
6 auto_captions => 0, 6 auto_captions => 0,
@@ -10,10 +10,13 @@ our $CONFIG = {
10 clobber => 0, 10 clobber => 0,
11 colors => 1, 11 colors => 1,
12 combine_multiple_videos => 0, 12 combine_multiple_videos => 0,
13 comments_order => "time",
13 confirm => 0, 14 confirm => 0,
14 convert_cmd => "ffmpeg -i *IN* *OUT*", 15 convert_cmd => "ffmpeg -i *IN* *OUT*",
15 convert_to => undef, 16 convert_to => undef,
16 copy_caption => 0, 17 copy_caption => 0,
18 custom_layout => 0,
19 custom_layout_format => "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n",
17 dash_mp4_audio => 1, 20 dash_mp4_audio => 1,
18 dash_support => 1, 21 dash_support => 1,
19 debug => 0, 22 debug => 0,
@@ -23,6 +26,7 @@ our $CONFIG = {
23 downloads_dir => ".", 26 downloads_dir => ".",
24 env_proxy => 1, 27 env_proxy => 1,
25 fat32safe => 0, 28 fat32safe => 0,
29 ffmpeg_cmd => "/usr/bin/ffmpeg",
26 fullscreen => 0, 30 fullscreen => 0,
27 get_captions => 1, 31 get_captions => 1,
28 get_term_width => 1, 32 get_term_width => 1,
@@ -36,8 +40,12 @@ our $CONFIG = {
36 interactive => 1, 40 interactive => 1,
37 keep_original_video => 0, 41 keep_original_video => 0,
38 maxResults => 20, 42 maxResults => 20,
43 merge_into_mkv => 1,
44 merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced",
45 merge_with_captions => 1,
39 order => undef, 46 order => undef,
40 page => 1, 47 page => 1,
48 prefer_mp4 => 0,
41 publishedAfter => undef, 49 publishedAfter => undef,
42 publishedBefore => undef, 50 publishedBefore => undef,
43 regionCode => undef, 51 regionCode => undef,
@@ -85,5 +93,6 @@ our $CONFIG = {
85 videoDuration => undef, 93 videoDuration => undef,
86 videoLicense => undef, 94 videoLicense => undef,
87 videoSyndicated => undef, 95 videoSyndicated => undef,
96 wget_cmd => "wget",
88 youtube_video_url => "https://www.youtube.com/watch?v=%s", 97 youtube_video_url => "https://www.youtube.com/watch?v=%s",
89} 98}