mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Deleting songs from the app left their album and artist folders behind, so people had to clean them up with a file manager. The song's own .lrc and .mlrc files stayed too, which kept those folders from being empty. Deleting a song now also deletes its .lrc and .mlrc files, unless another song in the folder has the same name. Settings > Files > Existing Files gains Remove Empty Folders, on by default: once a song is gone, the folders it leaves empty are removed, up to but never including the download folder or a Local Library folder, and never a storage, volume or home folder or a folder right inside one, such as Music or Download. A folder still counts as empty when it only holds system index files, Mornye's cover.mp4 or lyrics files of songs that are gone. Folders are removed while the download queue is idle, so a download never loses the folder it writes into. Every place that deletes a song from the library goes through this: the library and album screens, song details, Duplicate Review and Mornye Link. Android storage access folders work through two new platform calls that find a song's folders before it is deleted and list a folder. Network songs and CUE tracks are only deleted, as before.