Auto-sync of SD card not picking up folder/file deletion

Issue description:

First of all, I am so grateful for having recently discovered this app :slight_smile:

I download music onto a 512gb microSD, and with Auto-sync enabled it picks up new additions and metadata changes with ease. However, if I delete a track or album, the sync fails. Upon selecting the filter button, a red info button appears, displaying “sync unsuccessful, log if repeated”. I created the debug log and did some digging - towards the very end of the rather long file, an “IllegalArgumentException: failed to determine if x is child of x” error is given at the point I tested, which I will attach in full.

My library is very much expanding, and so I don’t see a manual resync every time I delete something as tenable. Thanks

Logs:

Upload description: StormPulse

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Local device

Screenshots:

     

Your devices seems to have large delays and returns the path that no more exists during the scan but then fails when trying to access it.

This is usually caused by SDCard issues and Symfonium properly detect that as a problem and stop the sync to avoid loosing a lot of data because files would be incorrectly removed.

I will not change the behavior as the impacts are way too high. You can use the API to force sync at any time.

1 Like