From 5e045256ad8f0188fffd20e02afab8ae6f114d3d Mon Sep 17 00:00:00 2001 From: trizen Date: Wed, 26 Feb 2020 09:42:55 +0200 Subject: When `youtube-dl` is not installed, try to use the API of invidio.us. --- bin/gtk-straw-viewer | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/gtk-straw-viewer') diff --git a/bin/gtk-straw-viewer b/bin/gtk-straw-viewer index 7af5b95..ba4f123 100755 --- a/bin/gtk-straw-viewer +++ b/bin/gtk-straw-viewer @@ -234,8 +234,6 @@ my %CONFIG = ( tooltips => 1, tooltip_max_len => 512, # max length of description in tooltips - use_invidious_api => 0, - thousand_separator => q{,}, downloads_dir => curdir(), web_browser => undef, # defaults to $ENV{WEBBROWSER} or xdg-open @@ -812,7 +810,6 @@ my $yv_obj = WWW::StrawViewer->new( hl => $CONFIG{hl}, lwp_env_proxy => $CONFIG{env_proxy}, cache_dir => $CONFIG{cache_dir}, - use_invidious_api => $CONFIG{use_invidious_api}, authentication_file => $authentication_file, ); @@ -867,7 +864,7 @@ sub apply_configuration { videoEmbeddable videoLicense publishedAfter publishedBefore regionCode videoCategoryId - debug http_proxy use_invidious_api + debug http_proxy ) ) { -- cgit v1.2.3