From f8d26b9518990a6800e9ccce01ce17296c4a1df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 21 Mar 2023 17:02:00 +0300 Subject: Update youtube-viewer conf MPV window title, yt-dlp and other config options adjusted. --- dotfiles/.config/youtube-viewer/youtube-viewer.conf | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/dotfiles/.config/youtube-viewer/youtube-viewer.conf b/dotfiles/.config/youtube-viewer/youtube-viewer.conf index e498798..aeb9dfc 100644 --- a/dotfiles/.config/youtube-viewer/youtube-viewer.conf +++ b/dotfiles/.config/youtube-viewer/youtube-viewer.conf @@ -1,11 +1,16 @@ #!/usr/bin/perl -# YouTube Viewer 3.9.6 - configuration file +# YouTube Viewer 3.10.6 - configuration file + +use utf8; our $CONFIG = { + audio_quality => "best", auto_captions => 0, autolike_watched => 0, autoplay_mode => 0, + bypass_age_gate_native => 0, + bypass_age_gate_with_proxy => 0, cache_dir => "$ENV{HOME}/.cache/youtube-viewer", colors => 1, comments_order => "time", @@ -42,7 +47,8 @@ our $CONFIG = { dash_support => 1, debug => 0, download_and_play => 0, - download_with_wget => 1, + download_with_wget => 0, + download_with_ytdl => 1, downloads_dir => ".", env_proxy => 1, fat32safe => 0, @@ -63,7 +69,7 @@ our $CONFIG = { ignored_projections => [], interactive => 1, keep_original_video => 0, - maxResults => 15, + maxResults => 10, merge_into_mkv => 1, merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", merge_with_captions => 1, @@ -99,7 +105,7 @@ our $CONFIG = { srt => "-sub *SUB*", }, mpv => { - arg => "--gpu-context=wayland --title=*TITLE* --no-ytdl", + arg => "--gpu-context=wayland --force-media-title=*TITLE* --title=*TITLE* --no-ytdl", audio => "--audio-file=*AUDIO*", cmd => "mpv", fs => "--fullscreen", @@ -127,5 +133,5 @@ our $CONFIG = { youtube_users_file => "$ENV{HOME}/.config/youtube-viewer/youtube_users.txt", youtube_video_url => "https://www.youtube.com/watch?v=%s", ytdl => 1, - ytdl_cmd => "/usr/bin/youtube-dl", + ytdl_cmd => "/usr/bin/yt-dlp", } -- cgit v1.2.3