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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Database Update Issues
« previous next »
  • Print
Pages: [1]

Author Topic: Database Update Issues  (Read 2076 times)

Offline scorp7785

  • Member
  • *
  • Posts: 10
Database Update Issues
« on: March 01, 2015, 02:28:14 AM »
I'm using the latest rockbox build (55f1d94) on a sansa clip+ and I'm having problems updating the database.

I have auto update enabled, but whenever I add media to the player the database takes forever to refresh (between 45-60 minutes). If I go into the .rockbox directory and delete all the .tcd files and initialize the database - it's built in less than a minute. Same thing if I try to update now rather than auto update. Something seems off here - it should take way less time to sort through a few files and add them to the database than to build the whole thing from scratch. Any ideas of what may be going on??

Thanks!!
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Database Update Issues
« Reply #1 on: March 01, 2015, 02:42:41 AM »
You don't directly indicate when this issue presented itself, only that you're using the current (as of this writing) build.

Without anything solid to go by, my only suggestion at this stage would be to check the volumes for error.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline scorp7785

  • Member
  • *
  • Posts: 10
Re: Database Update Issues
« Reply #2 on: March 01, 2015, 10:19:52 AM »
I've been rockboxing since the first of the year...been through a few builds I've always seemed to run into this problem where the database update takes forever.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Database Update Issues
« Reply #3 on: March 01, 2015, 02:35:22 PM »
I would check the disk for errors, but this issue sounds strange.  Usually either the file system or files are screwed up and the database just crashes during building, or it builds quickly.  I'm not sure why it would build slow.
Logged

Offline maxillius

  • Member
  • *
  • Posts: 3
Re: Database Update Issues
« Reply #4 on: March 21, 2015, 02:31:34 PM »
I had a similar database database problem with my Clip+.  I couldn't just add individual tracks, I had to drag the files over then rebuild the entire database which takes over an hour with a 25GB+ library.  I had to clear the drive then reload the disk from scratch then rebuild the database again.  Then I noticed a couple files were missing so I added just them, manually had it update the database and it seems to work now.

Patience seems to be the key.  When you rebuild your database, set it going, connect it to a charger then go do something else for a couple hours to give it time to complete the task.

Oh, and a note to those working on the Clip+ code, make it update the database in the foreground because you can't do anything with an incomplete database anyway.  If there was a display element to show progress that would be extremely helpful.  I'm not a coder so just take this last part as a suggestion :)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Database Update Issues
 

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

Page created in 0.081 seconds with 15 queries.