Learnincurve wrote: > Hi, > > Thanks for this really useful plugin, which was working fine on my main > system at home. > > I'm trying to set up a new LMS on a small, r-pi-like device for my > brother and note that the settings for youtube have been extended with > the personal account stuff, so I set up a new Auth0 client ID, on my own > account and have populated: > > the API key with my own key > the client ID and secret with the values from the newly created Auth0 > ID. I authorized the account as per the instructions in the plugin > settings. > > 23853 > > Trying to search anything, I'm getting a blank result: > > A debug level log for the plugin shows this (Key removed for security): > > [17-10-06 13:54:52.4474] Slim::Utils::Misc::msg (1250) Warning: > [13:54:52.4462] ( > bless([ > sub { "???" }, > sub { "???" }, > { params => {}, timeout => 15 }, > "GET", > "https://www.googleapis.com/youtube/v3/search?key=[deleted for > security]&maxResults=50&part=snippet&q=sparks®ionCode=UK&relevanceLanguage=EN&type=video%2Cchannel%2Cplaylist", > "400 Bad Request", > undef, > undef, > undef, > undef, > undef, > undef, > ], "Slim::Networking::SimpleAsyncHTTP"), > "400 Bad Request", > ) at > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm > line 153. > [17-10-06 13:54:52.4485] Plugins::YouTube::API::__ANON__ (154) 400 Bad > Request > [17-10-06 13:54:52.4981] 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 > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm > line 84.
I misunderstood the interface: Deleted the personal account Client ID and Client secret under the line and everything works. Assuming now that the plugin can use EITHER Youtube API access key OR personal account. Please disregard my previous post and thanks again for awesome plugin BR. ------------------------------------------------------------------------ Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807 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