Yet another problem with cached songs

Issue description:

Too many errors, stopping playback

Logs:

Upload description: protofik

Additional information:

 
I have had similar issue last year, explained here: Sometimes the first song of an album skips midway through

I have recently started having similar issues again. Cached songs getting corrupted or refusing to sync. Today I cleared rolling and permanent cache, recreated auto-download rules, let it sync again and despite downloading a few hundred songs I can’t play most of them with Wi-Fi off due to ‘too many errors’ error. Also noticed most of my songs downloaded show file size of 250B which is definitely wrong, see screenshots.
 

Reproduction steps:

 

  1. Connect Symfonium to a navidrome server
  2. Add a few artists to auto-download rules
  3. Let it sync
  4. Turn Wi-Fi off, leave 5G on
  5. Try to play the songs
  6. Some will play but stop half-way through, some won’t play at all giving ‘Too many errors’ error.
     

Media provider:

Subsonic

Screenshots:

     

Export those files to downloads open them and see the error that navidrome had ?

It’s full of some Java runtime errors. Why is it happening?

Since you don’t give the content I can’t guess :wink:

But it’s probably more a question for Navidrome.

Ok, I figured it out. I ran out of disk space on my navidrome server so my bad. However I think the take here is that Symfonium should catch the error and display some meaningful message instead of caching corrupted 250B files, wouldn’t you agree?

That’s something that Navidrome needs to do :wink:

Symfonium ask for the file, Navidrome returns some data without an error. I have no way to detect that the data is invalid except when you try to play it :wink:

@deluan is it worth that he report it on your side so you properly error on the request ?

This should be fixed now in Fix incomplete cache files on transcoding errors by deluan · Pull Request #4124 · navidrome/navidrome · GitHub and will be part of the next release.

2 Likes