Media removals aren't detected sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediascanner |
Won't Fix
|
High
|
Unassigned | ||
mediascanner (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
On a few occasions I had mediascanner not pick up removals from the ~/Videos directory (when either removing via mtp or directly on the device with rm), when that happened, the mediascanner scope still provided search results for the now-deleted items, and even a device reboot didn't remove them from the database.
Fix for this could be twofold:
1) figure out why mediascanner didn't pick up the deletions (it was running, so it should have picked them up)
2) if it really does miss a removal (because it crashed at the time of removal or wasn't running at all), rescan on reboot should remove the stale items
As a side note this happened to me when one of the media files I had in ~/Videos was a .wmv for which there were no codecs on the device and the log had some warnings/errors about that (incorrect error handling perhaps?)
I just flashed the phone, and put a few videos in ~/Videos. It took 30 seconds for all the thumbnails to appear in the scope. Then I deleted all the video files but I still see them in the Videos scope.