Songs not skipped in queues if unavailable

Issue description:

Songs are not skipped in queues if they are unavailable. If the queue hits an unavailable song the song is just stuck loading. No music is played

Logs:

Upload description: OcraCore-queues

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Jellyfin

Screenshots:

     

Did you configure the provider to be wifi only ?

Else the test is a little false as offline status detection takes time. And the loading is not stuck it just waits to timeout.

Yes it is wifi only.

Ok so this is due to the path taken to ensure security in the number of retries and automated skips.

To avoid killing the battery, the queue stops after a number of errors.

I’ll add a quick failure path for this use case, but will still keep some limits (bigger for that case) on auto skips to avoid issues (auto skip + continuous playback is not really a good combo for the phone).

I didn’t quite get what you mean with limits. As long as the queue doesn’t get stuck on songs that aren’t available, I am happy.

If means that if you have more than around 20 items not playing for that reason the queue will still stop automatically

Yeah, then this is great, thanks!