updated youtubeviewer
This commit is contained in:
parent
271f895f0a
commit
5aad3d7c32
@ -1,55 +1,59 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
# Youtube Viewer 3.1.1 - configuration file
|
# Youtube Viewer 3.1.7 - configuration file
|
||||||
|
|
||||||
our $CONFIG = {
|
our $CONFIG = {
|
||||||
|
autohide_watched => 0,
|
||||||
cache => 30000,
|
cache => 30000,
|
||||||
|
cache_dir => "/home/felix/.cache/youtube-viewer",
|
||||||
cache_min => 5,
|
cache_min => 5,
|
||||||
caption => undef,
|
|
||||||
captions_dir => "/tmp",
|
captions_dir => "/tmp",
|
||||||
categories_language => "en-US",
|
cats_region => "us",
|
||||||
clobber => 0,
|
clobber => 0,
|
||||||
colors => 1,
|
colors => 1,
|
||||||
combine_multiple_videos => 0,
|
combine_multiple_videos => 0,
|
||||||
|
convert_cmd => "ffmpeg -i *IN* *OUT*",
|
||||||
convert_to => undef,
|
convert_to => undef,
|
||||||
copy_caption => 0,
|
copy_caption => 0,
|
||||||
|
dash_mp4_audio => 0,
|
||||||
|
dash_support => 1,
|
||||||
debug => 0,
|
debug => 0,
|
||||||
download_and_play => 0,
|
download_and_play => 0,
|
||||||
|
download_in_parallel => 0,
|
||||||
download_with_wget => 0,
|
download_with_wget => 0,
|
||||||
downloads_folder => ".",
|
downloads_dir => ".",
|
||||||
duration => undef,
|
|
||||||
ffmpeg_command => "ffmpeg -i %s %s",
|
|
||||||
fullscreen => 0,
|
fullscreen => 0,
|
||||||
gcap => undef,
|
|
||||||
get_captions => 1,
|
get_captions => 1,
|
||||||
get_term_width => 1,
|
get_term_width => 1,
|
||||||
hd => undef,
|
|
||||||
history_size_limit => 1000,
|
history_size_limit => 1000,
|
||||||
|
hl => "en_US",
|
||||||
http_proxy => undef,
|
http_proxy => undef,
|
||||||
interactive => 1,
|
interactive => 1,
|
||||||
keep_original_video => 0,
|
keep_original_video => 0,
|
||||||
lower_cache => 1000,
|
lower_cache => 1000,
|
||||||
lower_cache_min => 3,
|
lower_cache_min => 3,
|
||||||
orderby => undef,
|
maxResults => 20,
|
||||||
prefer_https => 0,
|
order => undef,
|
||||||
|
page => 1,
|
||||||
|
publishedAfter => undef,
|
||||||
|
publishedBefore => undef,
|
||||||
remove_played_file => 0,
|
remove_played_file => 0,
|
||||||
resolution => "original",
|
resolution => "original",
|
||||||
results => 20,
|
|
||||||
results_fixed_width => 0,
|
results_fixed_width => 0,
|
||||||
results_with_colors => 0,
|
results_with_colors => 0,
|
||||||
results_with_details => 0,
|
results_with_details => 0,
|
||||||
safe_search => undef,
|
safeSearch => undef,
|
||||||
save_input_history => 0,
|
save_input_history => 0,
|
||||||
skip_if_exists => 0,
|
skip_if_exists => 0,
|
||||||
srt_languages => ["en", "jp"],
|
srt_languages => ["en", "jp"],
|
||||||
thousand_separator => ",",
|
thousand_separator => ",",
|
||||||
time => undef,
|
|
||||||
use_lower_cache => 0,
|
use_lower_cache => 0,
|
||||||
use_xml_fast => 1,
|
video_filename_format => "*FTITLE*.*FORMAT*",
|
||||||
video_player_selected => "mpv",
|
video_player_selected => "mpv",
|
||||||
video_players => {
|
video_players => {
|
||||||
mplayer => {
|
mplayer => {
|
||||||
arg => "-prefer-ipv4 -really-quiet -cache %d -cache-min %d",
|
arg => "-prefer-ipv4 -really-quiet -cache %d -cache-min %d",
|
||||||
|
audio => "-audiofile *AUDIO*",
|
||||||
cmd => "mplayer",
|
cmd => "mplayer",
|
||||||
fs => "-fs",
|
fs => "-fs",
|
||||||
novideo => "-novideo",
|
novideo => "-novideo",
|
||||||
@ -57,6 +61,7 @@ our $CONFIG = {
|
|||||||
},
|
},
|
||||||
mpv => {
|
mpv => {
|
||||||
arg => "--really-quiet",
|
arg => "--really-quiet",
|
||||||
|
audio => "--audio-file *AUDIO*",
|
||||||
cmd => "/usr/bin/mpv",
|
cmd => "/usr/bin/mpv",
|
||||||
fs => "--fullscreen",
|
fs => "--fullscreen",
|
||||||
novideo => "--no-video",
|
novideo => "--no-video",
|
||||||
@ -64,11 +69,18 @@ our $CONFIG = {
|
|||||||
},
|
},
|
||||||
vlc => {
|
vlc => {
|
||||||
arg => "--quiet --play-and-exit --no-video-title-show",
|
arg => "--quiet --play-and-exit --no-video-title-show",
|
||||||
|
audio => "--input-slave *AUDIO*",
|
||||||
cmd => "vlc",
|
cmd => "vlc",
|
||||||
fs => "--fullscreen",
|
fs => "--fullscreen",
|
||||||
novideo => "--intf dummy --novideo",
|
novideo => "--intf dummy --novideo",
|
||||||
srt => "--sub-file '%s'",
|
srt => "--sub-file '%s'",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
videoCaption => undef,
|
||||||
|
videoDefinition => undef,
|
||||||
|
videoDimension => undef,
|
||||||
|
videoDuration => undef,
|
||||||
|
videoLicense => undef,
|
||||||
|
videoSyndicated => undef,
|
||||||
youtube_video_url => "http://www.youtube.com/watch?v=%s",
|
youtube_video_url => "http://www.youtube.com/watch?v=%s",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user