25huizengek1 / ViTune

An Android application for seamless music streaming
https://vitune.app
GNU General Public License v3.0
532 stars 35 forks source link

Deleting a Song from Device Doesn’t Remove it from VITune App #462

Open KalpeshXOfficial opened 1 month ago

KalpeshXOfficial commented 1 month ago

Steps to reproduce the bug

1.Open the VITune app. 2.Add a song to the app from the device. 3.Delete the song directly from the device’s file system. 4.Open the VITune app again, and the deleted song still appears in the song list.

Expected behavior

When a song is deleted from the device, it should be automatically removed from the VITune app’s library or playlist.

Actual behavior

The song remains in the VITune app’s list, despite being deleted from the device.

Screenshots/Screen recordings

Before Delete Song

image

After Deleted Song

image

Logs

No response

ViTune version

v1.0.9

What kind of build are you using?

Release (GitHub / F-Droid)

Android version

Android 14

Device info

Brand: OnePlus Series/Model: Nord CE 3 OS Version/Build: OxygenOS 14 (based on Android 14)

Upstream reproducibility

No response

Additional information

Please consider adding a feature to automatically rescan or sync the app's library with the device's file system to detect deleted or missing files.

Checklist

Monoxide8969 commented 1 month ago

Please consider adding a feature to automatically rescan or sync the app's library with the device's file system to detect deleted or missing files.

This would be good and it would fix #373 too

25huizengek1 commented 1 month ago

I don't know whether MediaStore allows to check if a file (still) exists, but if it does, I'll implement it.