|
|
@ -1,11 +1,15 @@ |
|
|
|
#!/usr/bin/perl |
|
|
|
|
|
|
|
# CLI Pipe Viewer 0.2.1 - configuration file |
|
|
|
# CLI Pipe Viewer 0.4.5 - configuration file |
|
|
|
|
|
|
|
use utf8; |
|
|
|
|
|
|
|
our $CONFIG = { |
|
|
|
api_host => "auto", |
|
|
|
audio_quality => "best", |
|
|
|
auto_captions => 0, |
|
|
|
autoplay_mode => 0, |
|
|
|
bypass_age_gate_native => 0, |
|
|
|
bypass_age_gate_with_proxy => 0, |
|
|
|
cache_dir => "$ENV{HOME}/.cache/pipe-viewer", |
|
|
|
colors => 1, |
|
|
@ -49,10 +53,12 @@ our $CONFIG = { |
|
|
|
downloads_dir => ".", |
|
|
|
env_proxy => 1, |
|
|
|
fat32safe => 0, |
|
|
|
features => [], |
|
|
|
ffmpeg_cmd => "/usr/bin/ffmpeg", |
|
|
|
force_fallback => 0, |
|
|
|
fullscreen => 0, |
|
|
|
get_captions => 1, |
|
|
|
get_subscriptions_in_parallel => 0, |
|
|
|
get_term_width => 1, |
|
|
|
hfr => 1, |
|
|
|
highlight_color => "bold", |
|
|
@ -111,14 +117,12 @@ our $CONFIG = { |
|
|
|
srt => "--sub-file=*SUB*", |
|
|
|
}, |
|
|
|
}, |
|
|
|
videoCaption => undef, |
|
|
|
videoDefinition => undef, |
|
|
|
videoDimension => undef, |
|
|
|
videoDuration => undef, |
|
|
|
videoLicense => undef, |
|
|
|
watch_history => 1, |
|
|
|
watch_history_file => "$ENV{HOME}/.config/pipe-viewer/watched.txt", |
|
|
|
wget_cmd => "/usr/bin/wget", |
|
|
|
youtube_channel_url => "https://www.youtube.com/channel/%s", |
|
|
|
youtube_playlist_url => "https://www.youtube.com/playlist?list=%s", |
|
|
|
youtube_video_url => "https://www.youtube.com/watch?v=%s", |
|
|
|
ytdl => 1, |
|
|
|
ytdl_cmd => "/usr/bin/yt-dlp", |
|
|
|