InTheBath wrote: > 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.
Which OS are you running on the pi? Is it raspbian or some such? > > Just got Spotify playing on my Pi using SqueezePlay and Logitech Media > Server [image: > https://www.raspberrypi.org/forums/images/smilies/icon_e_smile.gif]. I > am running it headless and using the nice Android app from logitech to > remote control it. Only (major) issue is that after a while it starts > to stutter heavily, I will look into this when I get some more time. > > To get this setup up and running you need the Debian armel distro, > _NOT_ the debian armhf as the Spotify plugin is binary and built for > armel. > > So head over to the download section and get the Soft-float Debian > wheezy and put it on a SD card, boot it up and do the initial setup > like upgrading the config and expanding the root image. > > Next download logitechmediaserver_7.8.0~1343433580_all.deb from 'here' > (http://downloads.slimdevices.com/nightly/index.php?ver=7.8). Install it > using > sudo dpkg -i logitechmediaserver_7.8.0~1343433580_all.deb > Or are you doing something like this? http://tapmantwo.blogspot.co.uk/2013/04/building-headless-spotify-player-using.html Have you installed the necessary lib thingies (there are four I think). Also: SSH into the pi and try sudo apt-get update sudo apt-get upgrade Otherwise, if you have a fresh SD card, download and install Max2play. If you format the SD card use the proper format tool https://www.sdcard.org/downloads/formatter_4/ ------------------------------------------------------------------------ Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=79706
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
