The installation of the plugin goes fine without errors in the log,
however I am unable to run it, a problem reminding something mentioned
earlier
http://forums.slimdevices.com/showthread.php?87731-Announce-YouTube-Plugin&p=831557&viewfull=1#post831557.
I created a browser key following the guide found a few post ago. The
server log says:

Code:
--------------------
    
  [15-11-08 21:42:35.7920] Slim::Utils::Misc::msg (1311) Warning: 
[21:42:35.7899] (
  bless([
  sub { "???" },
  sub { "???" },
  { params => {}, timeout => 15 },
  "GET",
  
"https://www.googleapis.com/youtube/v3/search?key=AIzaSyDqvxu8GQpjRbAzXU8jh8YWLT3p913iZhM&maxResults=50&part=snippet&q=norman&regionCode=FR&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-08 21:42:35.7945] Plugins::YouTube::API::__ANON__ (163) Connect timed 
out: 
  [15-11-08 21:42:35.7980] Slim::Utils::Misc::msg (1311) Warning: 
[21:42:35.7960] EV: error in callback (ignoring): Can't use an undefined value 
as an ARRAY reference at 
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/YouTube/API.pm
 line 93.
  [15-11-08 21:42:57.5366] Slim::Display::Display::string (894) Error: missing 
string RADIOIO
  [15-11-08 21:42:57.5403] Slim::Display::Display::string (894) Backtrace:
  frame 0: Slim::Utils::Log::logBacktrace 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Display/Display.pm
 line 894)
  frame 1: Slim::Display::Display::string 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Player/Player.pm
 line 200)
  frame 2: Slim::Player::Player::string 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Utils/Strings.pm
 line 507)
  frame 3: Slim::Utils::Strings::clientString 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Menu/SystemInfo.pm
 line 443)
  frame 4: Slim::Menu::SystemInfo::infoPlugins 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Menu/Base.pm
 line 172)
  frame 5: (eval) 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Menu/Base.pm
 line 172)
  frame 6: Slim::Menu::Base::addItem 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Menu/Base.pm
 line 142)
  frame 7: Slim::Menu::Base::menu 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Web/Settings/Server/Status.pm
 line 33)
  frame 8: Slim::Web::Settings::Server::Status::handler 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Web/HTTP.pm
 line 1132)
  frame 9: Slim::Web::HTTP::generateHTTPResponse 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Web/HTTP.pm
 line 930)
  frame 10: Slim::Web::HTTP::processURL 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Web/HTTP.pm
 line 734)
  frame 11: Slim::Web::HTTP::processHTTP 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Networking/IO/Select.pm
 line 139)
  frame 12: (eval) 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Networking/IO/Select.pm
 line 123)
  frame 13: Slim::Networking::IO::Select::__ANON__ 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Networking/IO/Select.pm
 line 184)
  frame 14: (eval) 
(/share/MD0_DATA/.qpkg/LogitechMediaServer/var/home/SqueezeboxServer/Slim/Networking/IO/Select.pm
 line 184)
  frame 15: Slim::Networking::IO::Select::loop 
(/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl line 708)
  frame 16: main::idle (/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl 
line 658)
  frame 17: main::main (/opt/ssods4/var/home/SqueezeboxServer/slimserver.pl 
line 1192)
  
--------------------

If I put into my browser the url that appears in the error log I get:

Code:
--------------------
    
  {
  "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."
  }
  }
  
--------------------

I don't know if this helps in debugging. I tried several country codes
without success. I live in the French-speaking part of Switzerland, and
my QNAP NAS (OS 4.1.4) is set to French as well as my LMS 7.8.1.


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