Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Songs randomly play at wrong speed #1704
Songs will randomly play at the wrong speed, usually slow. So far I've noticed fast playback with .m4a (which I may have fixed with a different decoder) but more frequently slow play back with .mp3. I'll update here if other types show the same problem now that I'm aware.
It happens somewhat randomly and it frequently fixes itself if I reset the song. It can happen at any time: the first time I use mopidy for the day, or in the middle of a queue.
This seems very similar to the issue mentioned here:
From what I've experienced it's never the first track but only subsequent tracks. As restarting (with state saving enabled) fixes it.
I currently don't have access to the server to test
Thanks, that's interesting.
So if you get it to play faster, then stop, and then play the song that was being played too fast.
So I see from your files that the two 'Centipede' tracks have 48k sample rate and the other two are 44.1k. You can imagine if there is some bug where the new sample rate isn't set properly you'd get the effect described here. The problem for me right now is that I can't reproduce it on my Ubuntu desktop with Gstreamer 188.8.131.52 and Pulseaudio.
I can reproduce it on Raspbian (GStreamer: 184.108.40.206 and ALSA).
The next step is to try and find the difference between playing the different tracks back-to-back compared with stopping between them. GST_DEBUG=5 gives you that log, but it's a mission to go through it.