Thanks Philippe for testing my key. You figured out that my key was "not
active".

I am still puzzled. There is no way to "activate" or "deactivate" a key
at the Google API management site, as far as I see...

I regenerated the key, and entered the new key into the plugin settings
right after.

However, it does not work... So I enabled debug-logging, and here is
what is logged... (where "key" is of course replaced)

Thanks foru your help!

"GET",

"https://www.googleapis.com/youtube/v3/search?key=xxxxxxxxxxxxxxxx&maxResults=50&part=snippet&q=rock®ionCode=DE&relevanceLanguage=DE&type=video";,
"403 Forbidden",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP"),
"403 Forbidden",
) at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/API.pm
line 162.
[16-05-15 09:02:49.7915] Plugins::YouTube::API::__ANON__ (163) 403
Forbidden
[16-05-15 09:02:49.7916] Slim::Networking::IO::Select::__ANON__ (131)
Error: Select task failed calling Slim::Networking::Async::_async_read:
Can't use an undefined value as an ARRAY reference at
C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/YouTube/API.pm
line 93.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0xa7037b4)
[16-05-15 09:04:04.0041] Plugins::YouTube::API::_call (139) Calling API:
https://www.googleapis.com/youtube/v3/search?key=xxxxxxxxxxxxxxxx&maxResults=50&part=snippet&q=rock®ionCode=DE&relevanceLanguage=DE&type=video
[16-05-15 09:04:07.3087] Slim::Utils::Misc::msg (1244) Warning:
[09:04:07.3085] (
bless([
sub { "???" },


And when I enter the https.... - line into a browser, here is the
outcome:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "keyInvalid",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}


------------------------------------------------------------------------
diego's Profile: http://forums.slimdevices.com/member.php?userid=40897
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to