/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
--save-token ~/token.json has given the same output in token.json as
printed on screen a few days ago. I can send you the file token.json if
it helps.

Ok... that sounds good so far. But it still doesn't help me to understand what is failing :-(

2. I changed "CAN_ASYNC_GET_TOKEN => 0", but a restart doesn't change
"server.log":

[20-05-02 18:02:30.2014] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x9c9aea8)
[20-05-02 18:02:45.1994] Plugins::Spotty::API::Token::_killTokenHelper
(170) Timed out waiting for a token

Ok, that wasn't good enough. My bad. Please modify line 192 (https://github.com/michaelherger/Spotty-Plugin/blob/master/API/Token.pm#L192) from

elsif (CAN_ASYNC_GET_TOKEN...) {

to just

elsif (0) {

This should effectively disable that block and go to the "else" branch. Enable info logging for plugin.spotty, and give it yet another try.

--

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

Reply via email to