OK. Have done some more testing to try and get this working.

LMS on PC:

Everything works great. Plugin logs in to Spotify and tracks can be
played.
Unfortunately, this PC is normally turned off.


LMS on headless Raspberry Pi - control from above PC - using Firefox or
Edge browsers (results the same):

Settings page is really slow to come up (slower than other settings on
the "Advanced" tab).
Test button says Helper App is running, (part 1 of 5). But then "Not
Logged In" (2 of 5) and "Failed to receive Metadata" (3 of 5).
Pressing the Apply button on the settings page doesn't work the same as
every other settings page: when you attempt to leave the page it gives
the message about changed settings not having been saved - do you want
to save them now. As if the Apply button isn't normally registering.
Helper app location is:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf
(Although using the netstat command on the Pi, I see that the port is
actually being used by spotifydnoflac not spotifydnoflachf)
Have checked LMS blocking is off.
Some of this could be red herrings. I'm still suspicious of permissions
since that always bites me on these Unix systems...

Log says:
[17:47:30.954211] main:567 new connection
[17:47:30.954800] main:619 req: status.json res: (null) par: (null)
prot: HTTP/1.1 auth: (null)
[17:47:30.954916] process_status:1464 process status
[17:47:30.975635] main:567 new connection
[17:47:30.976140] main:619 req: toplist.json res: (null) par:
q=tracks&r=user prot: HTTP/1.1 auth: (null)
[17:47:30.976251] main:723 no remembered user
[17:47:30.976329] main:1589 bad request for socket or no track
[17:47:45.994773] main:567 new connection
[17:47:45.995359] main:619 req: status.json res: (null) par: (null)
prot: HTTP/1.1 auth: (null)
[17:47:45.995472] process_status:1464 process status
[17:48:07.691028] main:448
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf
2.3.8 started ( libspotify: 12.1.103.gd51f6226 Release
Linux-armv6-bcm2708hardfp )
[17:48:07.691806] main:478 Config: username: MLBath cachedir:
/var/lib/squeezeboxserver/cache/spotifycache bitrate: 320 volnorm: 1
httpport: 9005 cliport: 9090 cacheaudio: 1
[17:55:11.849185] main:448
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf
2.3.8 started ( libspotify: 12.1.103.gd51f6226 Release
Linux-armv6-bcm2708hardfp )
[17:55:11.850269] main:478 Config: username: MLBath cachedir:
/var/lib/squeezeboxserver/cache/spotifycache bitrate: 320 volnorm: 1
httpport: 9005 cliport: 9090 cacheaudio: 1
[17:58:26.372185] main:567 new connection
[17:58:26.372591] main:619 req: status.json res: (null) par: (null)
prot: HTTP/1.1 auth: (null)
[17:58:26.372712] process_status:1464 process status
[17:58:26.381125] main:567 new connection
[17:58:26.381618] main:619 req: toplist.json res: (null) par:
q=tracks&r=user prot: HTTP/1.1 auth: (null)
[17:58:26.381740] main:723 no remembered user
[17:58:26.381820] main:1589 bad request for socket or no track

MASSIVE thanks for your help so far.


------------------------------------------------------------------------
InTheBath's Profile: http://forums.slimdevices.com/member.php?userid=15679
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

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

Reply via email to