Version: 2.0.90 (using KDE 4.2.85) OS: Linux Installed from: Ubuntu Packages I deleted one of my mp3 files from disk but it still appears in amarok's collection count though it is not visible in the collection. I even can drag that file into the playlist when I drag the whole collection, it is then shown with no length and 0 B size. It doesn't help to recreate the database via amarok's settings.
Just rescanning the database doesn't recreate it, you need to erase it from ~/.kde/share/apps/amarok/, then rescan the collection. This could help.
Changing to feedback awaited.
Have the same problem. Database is not able to clear itself from deleted entries. Which files in ~/.kde/share/apps/amarok need to be erased?
I first tried to copy the deleted file again to the collection database and to rescan the database through amarok's settings (not the rescan entry in the extras menu). That revived the dead entry. Then I deleted the file via the context menu of the collection browser (before I deleted it via dolphin). After a restart of amarok again that ghost entry - and some other entries garbled (missing album information and so on). And a second file seemed to be deleted I haven't chosen to, but a quick look into the collection folder via dolphin still shows the file. Then I renamed the folder mysqle and restarted amarok and let it rebuild the database which it does automatically. So yes, obviously only a complete erasure of the whole database solves this. But I have to repeat that every time after something has changed in the collection which results in losing all other collection information like e.g. the rating. Shouldn't amarok (be able to) do this on its own - updating its database when files are deleted? The workaround to delete the whole database everytime something changes isn't very economic.
*** This bug has been marked as a duplicate of bug 191058 ***