diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:18:55 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:18:55 +0100 |
commit | bf4da46633ce3682339ea01bf18c98562fa04c5d (patch) | |
tree | 40fa6cc283d38b704e3d5144d6822474cbcd2075 /roles/tools/templates | |
parent | e2e7cad558fda2d58d91a18c1ad074cb6da39828 (diff) | |
download | Ansible-bf4da46633ce3682339ea01bf18c98562fa04c5d.tar.gz Ansible-bf4da46633ce3682339ea01bf18c98562fa04c5d.tar.zst Ansible-bf4da46633ce3682339ea01bf18c98562fa04c5d.zip |
Fix a few strings and configurations, and add a fl_restoreDump script
Diffstat (limited to 'roles/tools/templates')
-rw-r--r-- | roles/tools/templates/youtube-viewer.conf.j2 | 11 |
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 | ||
5 | our $CONFIG = { | 5 | our $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 | } |