scala wrote:
> I created a new key and now server startup has no errors - thanks!
> However, as soon as I start a search on youtube I get a very similar
> error message:
> >
Code:
--------------------
> > [15-11-14 21:24:44.7384] Slim::Utils::Misc::msg (1311) Warning:
[21:24:44.7365] (
> bless([
> sub { "???" },
> sub { "???" },
> { params => {}, timeout => 15 },
> "GET",
>
"https://www.googleapis.com/youtube/v3/search?key=AIzaSyBmf8HNcjFixejceN-ymjeSQswRtR8xWdM&maxResults=50&part=snippet&q=abba®ionCode=CH&relevanceLanguage=FR&type=video",
> "Connect timed out: ",
> undef,
> undef,
> undef,
> undef,
> undef,
> undef,
> ], "Slim::Networking::SimpleAsyncHTTP"),
> "Connect timed out: ",
> ) at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/YouTube/API.pm
line 162.
> [15-11-14 21:24:44.7407] Plugins::YouTube::API::__ANON__ (163) Connect
timed out:
> [15-11-14 21:24:44.7509] Slim::Control::Request::execute (1888) Error:
While trying to run function coderef [Slim::Plugin::OPMLBased::__ANON__]:
[Can't use an undefined value as an ARRAY reference at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/YouTube/API.pm
line 93.
> ]
--------------------
> >
> And when I past the url in a browser I get the same error message as
> earlier. I don't understand what I should do with google APIs: if I
> obtain a browser key, why is access not configured? What other step
> should I do?
> Any other suggestion?
I think this is still the same problem - copy/paste the query in your
web browser and you'll see. You need, on google web site, to enable that
key. See the message
"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."
}
LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=87731
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins