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