Set up mopidy on raspberry pi zero w and a line-out pirate audio. Used the pirate audio setup to install etc. Connected to spotify. No local media.
Sometimes when i skip a song (maybe 50% of the time), there will be no sound even though it shows the next song is playing. However, if I (through the web interface) use the playback slider and drag to another part of this song, it will start playing with the sound.
This seems to be the only way to get sound again, until the next song starts playing. Play/pause will pause the song, but still no sound when I resume.
Its random as to what songs. It will happen on songs that have played fine in the past.
If i leave it, eventually one of the next songs in the playlist will start playing (not from the start of the song). I also noticed that if I leave it, the playback slider will go past the end of the song (so a 2:09 long song, playback shows it playing 2:44 but is now stuck there)
Log doesnt seem to show much (verbosity at 4), just a bunch of this:
Jan 11 08:35:03 raspberrypi mopidy[5686]: DEBUG [Dummy-8] spotify.session Music delivery of 2048 frames, 0 consumed
Jan 11 08:35:03 raspberrypi mopidy[5686]: DEBUG [Dummy-8] spotify.session Audio buffer stats requested, but no listener
Jan 11 08:35:03 raspberrypi mopidy[5686]: DEBUG [Dummy-8] spotify.session Audio buffer stats requested, but no listener
Jan 11 08:35:03 raspberrypi mopidy[5686]: DEBUG [Dummy-8] spotify.session Audio buffer stats requested, but no listener
Can you provide mopidy deps output. And a full log taken when the problem occurs. For example, when skipping tracks there should be a lot of relevent output.
Feb 09 11:04:59 raspberrypi mopidy[404]: INFO [HttpServer] mopidy_iris.core Updating Snapcast stream metadata: http://localhost:1780/jsonrpc
Feb 09 11:04:59 raspberrypi mopidy[404]: ERROR [HttpServer] mopidy_iris.core [Errno 111] Connection refused
But in iris settings, it shows snapcast is disabled. I have also tried adding a [iris] section with [snapcast_enabled = false].in the /etc/mopidy/mopidy.conf and have confirmed that is it set by running mopidyctl config
When I skip songs and lose playback, I don’t see anything else in the log when i do a sudo journalctl -e -u mopidy
Also, as an aside, when I put the [iris] section in the mipidy.conf, I lose 3 of the 4 gpio buttons. The play/pause still works, but the skip and volume stop working.
Overall, I love being able to play spotify with this pirate audio board and mopidy. I just wish I could fix these issues.