Closed philippe44 closed 1 year ago
Silly question
int altIndex = -1;
while (!canPlayTrack(altIndex))
{
altIndex++;
CSPOT_LOG(info, "Trying alternative %d", altIndex);
if(altIndex > trackInfo.alternative_count) {
// no alternatives for song
return;
}
}
Shouldn'it be >= alternative_count? I'd assume count of 1 means index can be 0 only. I might not see the log because of the crash.
Fixed :)
Hi - I have a recurring crash always at the same place, and with different tracks (randomly happens). It happens with the squeezeesp32 full version but also with my standalone esp32 cspot test application. Here is a coredump. It seems that something is wrong with TrackInfo data. The protobuf are fresh-generated at every build.
NB: In the log below, the track title is in Chinese but that happens with any track)