Greetings,

Similar issue to sniki, however my region code is set to US and appears
to be appropriate.

When I attempt a search from either http://LMS Server IP address:9000/
or from SqueezePlay on any of the computers i use as clients, the
Youtube search yields nothing (on the clients, it shows Empty).

I am currently running LMS v7.9.3, r1584993250 on a Mac Mini, running
Mac OS X 10.11.6, El Capitan.  YouTube Plugin (v0.93.0).

Here is the report from Console when I run a YouTube search attempt for
"Paul Simon" in the video option(without quotes):





Marker - Apr 6, 2020, 12:23:32 AM
[20-04-06 00:26:10.6002] main::init (387) Starting Logitech Media Server
(v7.9.3, 1584993250, Tue Mar 24 04:10:26 CET 2020) perl 5.018002 -
darwin-thread-multi-2level
[20-04-06 00:26:10.6001] main::init (387) Starting Logitech Media Server
(v7.9.3, 1584993250, Tue Mar 24 04:10:26 CET 2020) perl 5.018002 -
darwin-thread-multi-2level
[20-04-06 00:26:53.2376] Slim::Utils::Misc::msg (1255) Warning:
[00:26:53.2370] (
bless([
sub { "???" },
sub { "???" },
{ params => {}, timeout => 15 },
"GET",

"https://www.googleapis.com/youtube/v3/search?key=MyKeyReplacedWithThis&maxResults=50&order=relevance&part=snippet&q=paul%20simon&regionCode=US&relevanceLanguage=EN&type=video";,
"403 Forbidden",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP"),
"403 Forbidden",
) at
/Users/mainuser/Library/Caches/Squeezebox/InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[20-04-06 00:26:53.2379] Plugins::YouTube::API::__ANON__ (170) 403
Forbidden
[20-04-06 00:26:53.2382] Plugins::YouTube::API::__ANON__ (81) no
results
[20-04-06 00:26:53.5219] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Networking::Async::_async_read:
Can't use an undefined value as an ARRAY reference at
/Users/mainuser/Library/Caches/Squeezebox/InstalledPlugins/Plugins/YouTube/API.pm
line 97.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x7fc2038630b8)
[20-04-06 00:27:54.2936] Slim::Utils::Misc::msg (1255) Warning:
[00:27:54.2933] (
bless([
sub { "???" },
sub { "???" },
{ params => {}, timeout => 15 },
"GET",

"https://www.googleapis.com/youtube/v3/videoCategories?key=MyKeyReplacedWithThis=EN&maxResults=50&order=date&part=snippet&regionCode=US";,
"403 Forbidden",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP"),
"403 Forbidden",
) at
/Users/mainuser/Library/Caches/Squeezebox/InstalledPlugins/Plugins/YouTube/API.pm
line 169.
[20-04-06 00:27:54.2938] Plugins::YouTube::API::__ANON__ (170) 403
Forbidden
[20-04-06 00:27:54.2940] Plugins::YouTube::API::__ANON__ (81) no
results
[20-04-06 00:27:54.3059] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Networking::Async::_async_read:
Can't use an undefined value as an ARRAY reference at
/Users/mainuser/Library/Caches/Squeezebox/InstalledPlugins/Plugins/YouTube/API.pm
line 97.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x7fc2038682f0)





The issue is system wide, affecting all users, and the report is
identical for all users - referencing their
/Library/Caches/Squeezebox/InstalledPlugins/Plugins/YouTube/API.pm .

- Issue persists after reboot of LMS Server

- Issue persists after reboot of Mac Mini running LMS Server

- Issue persists after removing Youtube plugin and then re-adding it

- I see no reference to an updated API.pm at
https://github.com/philippe44/LMS-YouTube

- line 97 of my copy of the API.pm is identical to line 97 of the most
current listing of the API.pm located at
https://github.com/philippe44/LMS-YouTube/blob/master/plugin/API.pm :

                push @items, @{$results->{items}};


- I HAVE NOT deleted my Google API Project, and have not generated a
new key.

PLease see the attached screenshot of the search errors listed on
Google's API Metrics page.

29957

Please find an attached copy of my API.pm.

Thank you all very much in advance for any assistance which can be
provided to resolve this issue.


+-------------------------------------------------------------------+
|Filename: Screen Shot 2020-04-06 at 1.13.30 AM.png                 |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29957|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Listen Closely's Profile: http://forums.slimdevices.com/member.php?userid=70028
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to