Symfonium keeps trying to play songs on removed usb storage

Issue description:

I have my local device provider pointed to a folder on a usb drive. Everything works when the usb is plugged in, but when it’s unplugged and I try to play a song from it, symfonium gets stuck in a loop trying to play it instead of recognizing that it’s currently unplayable and skipping it, or pausing playback, or whatever the current behavior is for other types of unplayable media

If I manually sync the local device provider, it gives an error, which is expected, but it could be handled in a way where when that error is returned, the associated media are recognized as unplayable

Logs:

Upload description: ULJgN-local-storage-usb

Additional information:

 

 

Reproduction steps:

 

  • Plug usb drive with music library into phone
  • Add local device provider
  • select library folder on usb drive
  • (optional sanity check step) play song from local device provider
  • eject and unplug usb drive
  • attempt to play song from local device provider
  • symfonium gets stuck trying and failing to play the media over and over
     

Media provider:

Local device

Screenshots: