Open dannysu opened 1 year ago
Hmm, I think decoder_eos() is getting called because mpg123 isn't giving any data. You mentioned you tried the track from the cache in another player, but do they work in Tauon at all?
Yes, the same track works in Tauon. This issue only shows up some of the time. Doesn't happen deterministically. When this issue occurs, if I use the UI and seek to any location, then the sound starts to work again.
Not quite sure why yet.
Playing music from Jellyfin. Sometimes after a track ends, the next track starts but have no sound. In the UI, the progress bar will keep progressing, but no sound coming out.
phazor gets into a condition where it thinks the buffer ran out and stops the decoder.
I added some debug logging of my own, but the key thing here seems to be that:
start()
gets called for the next songend()
being calledend()
. UI thinks the song is going. Whereas phazor has stopped.Since the UI thinks nothing is wrong, it'll continue to count time and move to next tracks. Sometimes when moving to next track phazor revives again.
The music file in the audio-cache seems to be fine. If I copy it out of the cache and play it with another player, the file works.
Not familiar with this code. Still debugging.