feelfreelinux / cspot

A Spotify Connect player targeting, but not limited to embedded devices (ESP32).
Other
479 stars 44 forks source link

Stuck in infinite loop #131

Closed philippe44 closed 11 months ago

philippe44 commented 2 years ago

I'm facing regularly an issue here https://github.com/feelfreelinux/cspot/blob/fedf7fcefafde024642f9dbdd9591828ac391b32/cspot/src/ChunkedAudioStream.cpp#L8 that happens when the MecuryManager loses connection; In that case, the Player.cpp is stuck in that loop forever (and it consumes all CPU) because the amount of bytes received is never the expected one. It happens a fair bit sometimes (I don't know why the MercuryManager session fails, but it successfully reconnects all the time, except that we are stuck in that loop then).