Not having success with YT plugin. Using the std plugin repo in a test
vm with LMS 7.9.1 running in Debian 9:


Code:
--------------------
    
  Logitech Media Server Version: 7.9.1 - 1505480690 @ Fri Sep 15 14:05:22 UTC 
2017
  Hostname: debian-vm.mynode.local
  Server IP Address: 192.168.0.50
  Server HTTP Port Number: 9000
  Operating system: Debian - EN - utf8
  Platform Architecture: x86_64-linux
  Perl Version: 5.24.1 - x86_64-linux-gnu-thread-multi
  Audio::Scan: 0.95
  Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
  Total Players Recognized: 1
  
--------------------


Created an unrestricted API V3 key.  Configured You Tube plugin settings
with this key and have not linked to a personal account. All the search
criteria are listed after clicking on You Tube app icon, but searches
return nothing. Logs show API key is being correctly passed but
returning 403 forbidden



Code:
--------------------
    
  
  bless([
  sub { "???" },
  sub { "???" },
  { params => {}, timeout => 15 },
  "GET",
  
"https://www.googleapis.com/youtube/v3/search?key=XXXX-3dxz9OkCLfY4Yot3kOA&maxResults=50&part=snippet&q=marais®ionCode=US&relevanceLanguage=EN&type=video";,
  "403 Forbidden",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP"),
  "403 Forbidden",
  ) at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/API.pm 
line 153.
  [17-10-17 17:38:32.5342] Plugins::YouTube::API::__ANON__ (154) 403 Forbidden
  [17-10-17 17:38:32.5431] 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.
  ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x55e020105cc8)
  
--------------------


I redacted key in snippet above to XXXX

Possibly a user error, but I'm pretty sure I've followed the
instructions correctly.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

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

Reply via email to