[pipe-viewer] upstream update

This commit is contained in:
lara 2022-10-01 12:37:57 +02:00
parent c417a7872f
commit 0c11e2672d

View file

@ -1,11 +1,12 @@
#!/usr/bin/perl #!/usr/bin/perl
# CLI Pipe Viewer 0.1.5 - configuration file # CLI Pipe Viewer 0.2.1 - configuration file
our $CONFIG = { our $CONFIG = {
api_host => "auto", api_host => "auto",
auto_captions => 0, auto_captions => 0,
autoplay_mode => 0, autoplay_mode => 0,
bypass_age_gate_with_proxy => 0,
cache_dir => "$ENV{HOME}/.cache/pipe-viewer", cache_dir => "$ENV{HOME}/.cache/pipe-viewer",
colors => 1, colors => 1,
comments_order => "top", comments_order => "top",
@ -44,6 +45,7 @@ our $CONFIG = {
debug => 0, debug => 0,
download_and_play => 0, download_and_play => 0,
download_with_wget => 1, download_with_wget => 1,
download_with_ytdl => 1,
downloads_dir => ".", downloads_dir => ".",
env_proxy => 1, env_proxy => 1,
fat32safe => 0, fat32safe => 0,
@ -63,6 +65,7 @@ our $CONFIG = {
ignored_projections => [], ignored_projections => [],
interactive => 1, interactive => 1,
keep_original_video => 0, keep_original_video => 0,
local_playlist_limit => -1,
maxResults => 20, maxResults => 20,
merge_into_mkv => 1, merge_into_mkv => 1,
merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced",
@ -76,12 +79,14 @@ our $CONFIG = {
region => undef, region => undef,
remove_played_file => 0, remove_played_file => 0,
resolution => "720p", resolution => "720p",
saved_channels_file => "$ENV{HOME}/.config/pipe-viewer/users.txt",
show_video_info => 1, show_video_info => 1,
skip_if_exists => 1, skip_if_exists => 1,
skip_watched => 0, skip_watched => 0,
split_videos => 1, split_videos => 1,
srt_languages => ["en", "fr"], srt_languages => ["en", "fr"],
subscribed_channels_file => "$ENV{HOME}/.config/pipe-viewer/subscribed_channels.txt", subscribed_channels_file => "$ENV{HOME}/.config/pipe-viewer/subscribed_channels.txt",
subscriptions_lifetime => 600,
subscriptions_limit => 10000, subscriptions_limit => 10000,
thousand_separator => ",", thousand_separator => ",",
timeout => undef, timeout => undef,
@ -112,10 +117,12 @@ our $CONFIG = {
videoDuration => undef, videoDuration => undef,
videoLicense => undef, videoLicense => undef,
watch_history => 1, watch_history => 1,
watched_file => "$ENV{HOME}/.config/pipe-viewer/watched.txt", watch_history_file => "$ENV{HOME}/.config/pipe-viewer/watched.txt",
wget_cmd => "/usr/bin/wget", wget_cmd => "/usr/bin/wget",
youtube_users_file => "$ENV{HOME}/.config/pipe-viewer/users.txt",
youtube_video_url => "https://www.youtube.com/watch?v=%s", youtube_video_url => "https://www.youtube.com/watch?v=%s",
ytdl => 1, ytdl => 1,
ytdl_cmd => "/usr/bin/yt-dlp", ytdl_cmd => "/usr/bin/yt-dlp",
ytdlp_comments => 0,
ytdlp_max_comments => 10,
ytdlp_max_replies => 3,
} }