commit 16ae177f51872d2116ce6031cc65813fd2594e9c
parent f1e7f6424e6b5c832fcadbbe6a9ad2b29a39ee83
Author: Sven Möller <sven@svenmoeller.xyz>
Date: Thu, 22 Dec 2022 18:41:05 +0100
Use yt-dlp instead of yt-dl, update pipe-viewer
Diffstat:
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/pipe-viewer/.config/pipe-viewer/pipe-viewer.conf b/pipe-viewer/.config/pipe-viewer/pipe-viewer.conf
@@ -1,9 +1,12 @@
#!/usr/bin/perl
-# CLI Pipe Viewer 0.2.2 - configuration file
+# CLI Pipe Viewer 0.4.4 - configuration file
+
+use utf8;
our $CONFIG = {
api_host => "auto",
+ audio_quality => "best",
auto_captions => 0,
autoplay_mode => 0,
bypass_age_gate_with_proxy => 0,
@@ -49,10 +52,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,18 +116,16 @@ 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/youtube-dl",
- ytdlp_comments => 0,
- ytdlp_max_comments => 10,
+ ytdl_cmd => "/usr/bin/yt-dlp",
+ ytdlp_comments => 1,
+ ytdlp_max_comments => 5,
ytdlp_max_replies => 3,
}