This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8414 - Duplicate entries in database (not caused by trash folders)
Attached to Project:
Rockbox
Opened by Petter Sundlöf (peppo) - Sunday, 06 January 2008, 19:55 GMT+2
Last edited by sideral (sideral) - Thursday, 19 May 2011, 17:20 GMT+2
Opened by Petter Sundlöf (peppo) - Sunday, 06 January 2008, 19:55 GMT+2
Last edited by sideral (sideral) - Thursday, 19 May 2011, 17:20 GMT+2
|
DetailsUsing r15994.
I've lately been having a lot of issues with the database creating duplicate (mostly double but some times three or four repeats of the same song) entries for identical files. This usually happens after one or too reboots/powerdowns. These are not caused by stray .Trash, .Trashes etc I have repeatedly tried deleting all my .tcds in .rockbox/ and recreating the database. I'm attaching my .tcds and an example playlist (analord11.m3u8) |
This task depends upon
Closed by sideral (sideral)
Thursday, 19 May 2011, 17:20 GMT+2
Reason for closing: Out of Date
Additional comments about closing: No confirmation whether the problem still exists.
Thursday, 19 May 2011, 17:20 GMT+2
Reason for closing: Out of Date
Additional comments about closing: No confirmation whether the problem still exists.
I guess i found a solution. Please check
FS#8423.You may have to 'Initialize Now' to clear the duplicated entries.
Does it occured when you did altered nothing? Please let me know if the latest build does not solve your problem.
And still, after one reboot, there are duplicate entries everwhere, a few triple entries.
Also, a new behaviour I've witnessed with recent firmwares is that it will do a "Searching..." on entering almost any album/place in database. This considerably slows down navigation.
I will try the latest firmware now.
It's happening with release r16027 and for previous releases since Dec 2007.
This problem seems to occur only when 'Load DB into Ram' is disabled.
If I'm not wrong, it seems that database_tmp.tcd does not erased at proper time.(due to a low voltage, immediate power down during boot-up, or whatever)
As a result of that, entries may committed twice.
This could happen in Sim too. Try kill simulator window while large amount of entries being committed.
It seems to affect random files in the database, since only about half my collection gets duplicated.
Running 'Initialize Now' always fixes it, but also erases the history, which sucks.
I did two things recently before the problem started: 1, started syncing my music with rsync, rather than copying the entire folder every time (don't laugh); 2, enabled 'Gather Runtime Data'. So maybe it could be related to one of these.
Use the 'Export Modifications' functionality, which writes all the runtime data to a flat file that can then be re-imported once you've initialised.
I've tried deleting all database files (.rockbox/database*), it seems to make no difference.
I was hoping Rockbox 3.0 would solve this (I had the same problem with an August build, but this problem did NOT exist on my previous old build) Any ideas? I might have to try down-grading rockbox versions, since I didn't have this problem a year ago - that would be lame.
I've tried deleting all database files (.rockbox/database*), it seems to make no difference.
I was hoping Rockbox 3.0 would solve this (I had the same problem with an August build, but this problem did NOT exist on my previous old build) Any ideas? I might have to try down-grading rockbox versions, since I didn't have this problem a year ago - that would be lame.
Since this morning I have duplicated entries aswell.
can anyone confirm this?
Device: Sansa Fuze
Rockbox version: r21206M-090608