Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Large number of duplicate database entries
« previous next »
  • Print
Pages: [1]

Author Topic: Large number of duplicate database entries  (Read 1762 times)

Offline evand

  • Member
  • *
  • Posts: 3
Large number of duplicate database entries
« on: October 10, 2008, 04:36:33 PM »
I did a search on this topic, but everyone said doing an "Initialize now" fixes the problem.  Not for me! I have Rockbox installed on a Sansa e280, where about 7 of the 8 gigabytes are used.  I just installed Rockbox version r18515-080914 today (Oct 10). I also did an "Initialize now" (although, since it runs in the background, I'm not sure when/if it completed).

After doing the above, I still show 12 entries for every song in the database! This has been going on for a couple months.

I don't know if it matters, but in installing the latest build, I received an error while attempting to install Themes. I've gotten this error message for a while now. However, my main concern here is the duplicate database entries.

Any suggestions what I should do?
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Large number of duplicate database entries
« Reply #1 on: October 10, 2008, 04:50:52 PM »
Do a database export (Settings > Database > Export Modifications (http://download.rockbox.org/manual/rockbox-sansae200/rockbox-buildch4.html#x7-480004.2.3)
Go into the /.rockbox directory and delete all the database files (*.tcd)
Initialise database again.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline evand

  • Member
  • *
  • Posts: 3
Re: Large number of duplicate database entries
« Reply #2 on: October 10, 2008, 08:01:58 PM »
bascule:  Thanks for the quick reply!  After sending my message, I tried "Initialize now" again, but this time let it sit for several hours. 

When I returned, I tried your suggestion to export modifications, but the unit responded "Failed".  So I then tried going into the database, but the unit responded something like "Reboot then retry".  When I rebooted, everything was fixed!

Anyone have any idea what causes this to happen in the first place?
Logged

Offline Strife89

  • Member
  • *
  • Posts: 354
  • Michael Carr
    • Strife89's blog
Re: Large number of duplicate database entries
« Reply #3 on: October 12, 2008, 02:31:44 PM »
I don't have an answer to that question, but you can do something that will keep a database initialization or an update from taking so long: enable the directory cache (dircache for short). (Settings/General Settings/System/Disk/Directory Cache). It should cut the time down from [however long it takes for you] to no more than a couple of minutes.

Also, whenever your Sansa is reading or writing to the disk, you'll see a small icon show up on the right side of the Statusbar. After initializing or updating, watch it. When it turns off and stays off, it should be done. Reboot (turn off and then turn on) your DAP to see the changes.
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

Offline evand

  • Member
  • *
  • Posts: 3
Re: Large number of duplicate database entries
« Reply #4 on: October 13, 2008, 01:56:47 PM »
Strife89: Thanks for the tips!  I made the change and can hardly wait until I need to re-initialize the player ... well, not really, but at least it won't take so long.

Thanks again.

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Large number of duplicate database entries
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.