From 0c11e2672d144e553990ff5439ea58b6b6732308 Mon Sep 17 00:00:00 2001 From: lara Date: Sat, 1 Oct 2022 12:37:57 +0200 Subject: [PATCH] [pipe-viewer] upstream update --- config/pipe-viewer/pipe-viewer.conf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config/pipe-viewer/pipe-viewer.conf b/config/pipe-viewer/pipe-viewer.conf index 85cb032..219a2f3 100755 --- a/config/pipe-viewer/pipe-viewer.conf +++ b/config/pipe-viewer/pipe-viewer.conf @@ -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, }