Summary: | Amarok shows files from a deleted folderthat is not even in the Collection | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | greatperson <greatperson> |
Component: | Collections/Local | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matej, ralf-engels |
Priority: | NOR | ||
Version: | 2.7.0 | ||
Target Milestone: | 2.8 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/e66883e92d3986eabe18be92c38311c7d3a232c4 | Version Fixed In: | 2.8 |
Description
greatperson
2013-04-29 19:19:31 UTC
Git commit e66883e92d3986eabe18be92c38311c7d3a232c4 by Matěj Laitl. Committed on 01/07/2013 at 21:44. Pushed by laitl into branch 'master'. SqlRegistry: delete orphaned entries from the urls table, too ...in addition to removing other orphaned items. It sometimes happened that an url entry with non-existent directory remained in the db, which prevented SqlScanResultProcessor from cleaning it up properly. BUGFIXES: * Fix a problem where ghost tracks would remain in the Local Collection until the database is wiped. FIXED-IN: 2.8 M +2 -0 ChangeLog M +8 -0 src/core-impl/collections/db/sql/DatabaseUpdater.cpp M +6 -0 src/core-impl/collections/db/sql/DatabaseUpdater.h M +4 -0 src/core-impl/collections/db/sql/SqlRegistry.cpp http://commits.kde.org/amarok/e66883e92d3986eabe18be92c38311c7d3a232c4 Thank you very much, it looks similar to what I did manually on the database to solve the problem. (In reply to comment #2) > Thank you very much, it looks similar to what I did manually on the database > to solve the problem. Oh fine. You could have told that the problem may be url entries orphaned by directories, I've found it just by accident. :) |