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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Building database
« previous next »
  • Print
Pages: [1]

Author Topic: Building database  (Read 1621 times)

Offline ayedlin

  • Member
  • *
  • Posts: 4
Building database
« on: April 26, 2008, 02:48:38 AM »
Hey, I just added rockbox to my sansa e200 and when I go to my database it says building database, which I know is normal when you first start it, but it never finishes, I even left it over night for like 8 hours and it still said the same thing. Am I doing something wrong?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Building database
« Reply #1 on: April 26, 2008, 07:14:28 AM »
It shouldn't take anywhere near that time.

What format of music files do you have?
What tag format do thy have?
Do you have any album art or other big things in tags?
What version of rockbox?

It sounds to me like a tag on one or more of your files is choking it.  You could check this by doing a binary search - i.e. remove half your music, try again, if there is still a problem, remove another half etc. until you discover the problem file.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline ayedlin

  • Member
  • *
  • Posts: 4
Re: Building database
« Reply #2 on: April 26, 2008, 07:59:59 AM »
I got everything to work, the reason it wasn't working is because when I copied all the Rockbox files I put them into the main directory of the player, instead of the .rockbox folder. The only problem I am having now is getting the WPS I downloaded to work, but I would have to do some coding and I'm not smart enough to figure that out.
Logged

Offline karashata

  • Rockbox Expert
  • Member
  • *
  • Posts: 603
  • Just a fluffy dragon with too much time on my paws
    • Alex Vanderpol (karashata) on Twitter
Re: Building database
« Reply #3 on: April 26, 2008, 09:49:17 AM »
There's a very nice guide to WPS coding here.  You may also want to get a simulator for your mp3 player from here and extract the theme into it to do some testing and get the theme working again. (Make sure you extract the theme into the archos folder wherever you extract the simulator to that way the theme files are put where they need to be.)

What you may consider doing is looking through the WPS file for the theme while comparing to the guide to make sure the code isn't buggy somewhere, then using a # character at the beginning of any lines that look like they might have a problem and saving the file (you can leave it open, just make sure to save between tests so Rockbox can see the changes!) and test the changes in the simulator until the WPS shows up mostly properly (minus the lines you commented out).  Once you've isolated the problem line(s), you can look at the guide to see how the code should be to do what the line is supposed to, and fix it, then copy the fixed WPS to your player.
« Last Edit: April 26, 2008, 09:52:52 AM by karashata »
Logged
Welp, my iriver H10 20GB is out of commission again.

Offline ayedlin

  • Member
  • *
  • Posts: 4
Re: Building database
« Reply #4 on: April 28, 2008, 05:09:08 AM »
Unfortunately I can't do as much as I would like to do on these computers because they are government computers. They really don't let me do much. Aside from that, I am currently deployed and don't have much time to do all that anyway.
« Last Edit: April 28, 2008, 05:12:37 AM by ayedlin »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Building database
« Reply #5 on: April 28, 2008, 05:12:05 AM »
A WPS file is just a text file.  If you have a text editor you can create/correct/whatever a WPS.

The simulator is an executable - I guess you might have more trouble running that, although nothing installs.  However, you can test a WPS on the player, even though it is more tedious.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline ayedlin

  • Member
  • *
  • Posts: 4
Re: Building database
« Reply #6 on: April 28, 2008, 05:21:14 AM »
Like I said before, I am not smart enough to do coding, if it was a hardware issue I would be all over it, but I just can't wrap my head around code. Can't  you just make a magic program that makes everything work? Maybe if we all wish hard enough?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Building database
« Reply #7 on: April 28, 2008, 05:32:04 AM »
Try spending a few days reading it before you simply say "I can't do it." It's really far simpler than I think you expect it to be, not coding at all.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Building database
 

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

Page created in 0.09 seconds with 16 queries.