I have had Mopidy and mopidy-spotify running for quite some time on Raspbian. My brother told me it broke a while ago (his playlists weren’t showing he said) so I decided this was the time to reinstall and start from scratch.
This is a Raspberry Pi 3 with the latest Raspbian (based on pre-release Debian Buster). I read here in the forums that the Mopidy apt repos (for Stretch) worked fine with Debian Buster, so that’s what I am running now.
Mopidy is at 2.2.2 (I saw 2.2.3 just got released but it’s not showing up in the repo yet), mopidy-spotify was at 3.1.0 but I replaced it with the code from PR #188 as per kingosticks’ instructions. After a restart, his playlists were showing again; however, hitting play doesn’t do anything.
/var/log/mopidy/mopidy.log doesn’t show anything either. A lot of this did show up in the log though, after a bit of delay:
2019-06-28 22:14:32,181 ERROR [1168:HttpServer] mopidy.http.handlers: WebSocket request error: 2019-06-28 22:14:32,183 ERROR [1168:HttpServer] mopidy.http.handlers: WebSocket request error: 2019-06-28 22:14:32,186 ERROR [1168:HttpServer] mopidy.http.handlers: WebSocket request error: 2019-06-28 22:14:32,214 INFO [1168:HttpServer] tornado.access: 200 GET /moped/ (10.0.0.10) 16.99ms 2019-06-28 22:14:32,219 INFO [1168:HttpServer] tornado.access: 200 GET /moped/ (10.0.0.10) 2.77ms 2019-06-28 22:14:40,216 ERROR [1168:HttpServer] tornado.application: Future exception was never retrieved: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1141, in run yielded = self.gen.throw(*exc_info) File "/usr/lib/python2.7/dist-packages/tornado/websocket.py", line 876, in wrapper raise WebSocketClosedError() WebSocketClosedError
I have browsed through the open bugs and searched the forum but I’m not finding anything about Spotify playback being broken. The Spotify login itself works (log says login is succesful) and the personal playlists are showing so not sure what the issue is here.
Playing saved radio streams (local stations outside Spotify) doesn’t work either (nor does playback through the TuneIn plugin, it seems).