squentin / gmusicbrowser

jukebox for large collections of music
http://gmusicbrowser.org
GNU General Public License v3.0
194 stars 42 forks source link

Bug: Deleting Song does not automatically remove it from the library #202

Closed BeatLink closed 3 years ago

squentin commented 3 years ago

Do you mean deleting it from outside gmb ? If yes that's a feature request of watching changes in folders/files. If not it's a bug, but you'll have to give more details because it should work.

BeatLink commented 3 years ago

Its the latter case. Deleting a song from gmusicbrowser's UI does not automatically remove it from the library. It will remain, however clicking on it will say "Resource not found"

squentin commented 3 years ago

I've just checked the code, after file deletion the song is added to the list of songs to check, which is not really necessary. So if gmb is currently checking a long list of songs, it could take a while before it reaches that song. Maybe I could make it more direct.

BeatLink commented 3 years ago

Yeah!

squentin commented 3 years ago

I've made it remove the song directly (b920e062a809f / 85e3f776c1403a), can you confirm it was the problem ?

BeatLink commented 3 years ago

Checking it now!

BeatLink commented 3 years ago

It seems to work!