I seem to have a problem with the API key.
I spent a few hours reading most of this thread. 
But my searches don't work on the plugin (all of them time out) and when
I go to "recently played" it fails to play (timer starts a few times for
a few seconds then back to zero and then I get "no more streams".

I enabled the log and I see (I've removed the key):
[16-02-21 23:27:48.5045] Slim::Utils::Misc::msg (1311) Warning:
[23:27:48.4991] (
bless([
sub { "???" },
sub { "???" },
{ params => {}, timeout => 15 },
"GET",
"https://www.googleapis.com/youtube/v3/videos?key= <key
removed>&id=OB4MsmL2q1A&maxResults=50&part=snippet%2CcontentDetails&regionCode=US",
"403 Forbidden",
undef,
undef,
undef,
undef,
undef,
undef,
], "Slim::Networking::SimpleAsyncHTTP"),
"403 Forbidden",
) at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm
line 162.
[16-02-21 23:27:48.5116] Plugins::YouTube::API::__ANON__ (163) 403
Forbidden
[16-02-21 23:27:48.5182] Plugins::YouTube::ProtocolHandler::__ANON__
(724) 403 Forbidden
[16-02-21 23:27:48.5261] Slim::Networking::IO::Select::__ANON__ (147)
Error: Select task failed calling Slim::Networking::Async::_async_read:
Can't use string ("") as a subroutine ref while "strict refs" in use at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
line 725.
; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x5f47650)

I tried to regenerate the key and use a new one but I get the same.
I then tried paste the link with the key above into a broswer and it
gets me:

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API (YouTube Data API) is not
enabled for your project. Please use the Google Developers Console to
update your configuration."
"extendedHelp": "https://console.developers.google.com";
}
],
"code": 403,
"message": "Access Not Configured. The API (YouTube Data API) is not
enabled for your project. Please use the Google Developers Console to
update your configuration."
}
}

So I try going to my google account to enable the api but under "enabled
APIs" I don't see it, and when I look the api up there seems to be no
option to enable/disable it.

Can anyone let me know how to enable this API key? I would love to have
youtube working again on my squeezeboxes.

Thanks,
T.


------------------------------------------------------------------------
tiggert's Profile: http://forums.slimdevices.com/member.php?userid=62866
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