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

Author Topic: Database problems  (Read 2626 times)

Offline codeking

  • Member
  • *
  • Posts: 8
Database problems
« on: July 09, 2007, 06:23:00 PM »
I used mediamonkey (an alternative to windows media player) to upload over 3000 songs to my rockbox.  I update the database and view the songs, but none of the new songs were there.  I tried it several times, but nothing changed.  Why is this happening?  Is there a limit to the amount of songs you can have in the database?  ???
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Database problems
« Reply #1 on: July 09, 2007, 07:10:03 PM »
Quote from: codeking on July 09, 2007, 06:23:00 PM
I update the database and view the songs, but none of the new songs were there.  I tried it several times, but nothing changed.  Why is this happening?  Is there a limit to the amount of songs you can have in the database?  ???

The db seem to be updating slower these days. Try to wait for a while after updating your db before restarting or do "update database" and restart several time until all you music is showing up.

Charles
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Database problems
« Reply #2 on: July 10, 2007, 04:47:54 AM »
In order of likelyhood:

1. Did you actually do a database update in order to view the new files? Settings > General Settings > Database > Update Now

2. Are you sure you copied/synched the songs to your player; can you see them in the file view? (got to look at the basics ;) )

3. Are the actual files tagged? I don't know MM very well, but it could be that the tags exist solely in it's own database like iTunes does it and do not exist in the files themselves.

There no maximum limit AFAIK to the number of tracks registered, but displaying long lists is constrained by the same 'Max Files in Dir Browser' setting as the File View.

Quote from: cpchan on July 09, 2007, 07:10:03 PM
... and restart several time until all you music is showing up.

You should not have to do this. Depending on your player, the disk activity light/statusbar disk activity indicator will show you if the database is still being built. This can take a significant length of time. It should then auto-commit the database in the background and be ready for use.
Settings > System > Debug (Keep Out!) > View database info will tell you how the database update is progressing
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Database problems
« Reply #3 on: July 10, 2007, 04:54:13 AM »
Actually, I'm pretty sure the long lists aren't restrained by the file view limitation in the same way. Since the files are pre-sorted within the database, I think the lists can be loaded by parts rather than whole. I think that was an improvement for the database that slipped in (I could be wrong) so try it, and let me know if I understood correctly. (This is based on a conversation I witnessed, but didn't pay much attention to being busy elsewhere).

Another helpful feature, if you initialize the database by simply choosing the database in the main menu, it builds in the foreground. If you pres "PREV" to have it build in the background, re-choosing the database option in the main menu will give you its status. You don't need to use the buried "Initialize" option unless you're trying to reinitialize the database.
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Database problems
« Reply #4 on: July 10, 2007, 06:41:13 AM »
Quote from: bascule on July 10, 2007, 04:47:54 AM
You should not have to do this. Depending on your player, the disk activity light/statusbar disk activity indicator will show you if the database is still being built.

I am on flash based (e200) target which does not have a disc. Also, it is very hard for me to see the status bar because of the "1 pixel screen glitch" that haven't been fixed for the e200 target (anyway nothing seem to be moving in the status bar when the db is being build). Also, some people that I know who reported the problem to me are using themes with no status bar on the Main Menu screen. Anyway, now I realize that my problem is that I haven't waited long enough.
 
Quote
Settings > System > Debug (Keep Out!) > View database info will tell you how the database update is progressing

Ah thanks, this will come in handy.

Charles
Logged

Offline codeking

  • Member
  • *
  • Posts: 8
Re: Database problems
« Reply #5 on: July 10, 2007, 11:58:13 AM »
I also reinitialized the database several times, so I know the problem isn't that I didn't wait long enough for it to update.  And when it was finished initializing, the final count was over 3000 songs, so I know I did upload the files to my MP3.  And the files are tagged, because I searched through and still, no new songs.  I'm completely stump.

PS: I'm using an iriver h340
Logged

Offline codeking

  • Member
  • *
  • Posts: 8
What????????
« Reply #6 on: July 10, 2007, 08:58:34 PM »
This is weird.  I checked the files, and some of the songs on the database are not on the hard drive, but they still play.  tried doing disktidy, but it said incompatable version.  (i just update rockbox)  Hmmmmm.  something weirds going on here.  ghost songs in the database, what next?  the database doesn't store songs, just the info, so how can the songs still be on there?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Database problems
« Reply #7 on: July 10, 2007, 08:59:42 PM »
Hold Select, and choose to view ID3 info, scroll down to the bottom, and it'll tell you where the file is hidden.
Logged

Offline codeking

  • Member
  • *
  • Posts: 8
Re: Database problems
« Reply #8 on: July 11, 2007, 02:35:06 PM »
I figured out the problem.  For those of you who dont know how harddrives organize information, heres a brief explanation.  At the beginning of the hard drive, theres a small file that tells the computer or other device the folders, the files and there names, and where the file data is stored on the hard drive.  Well, for some reason, my hard drive's database is being update, but not the file data.  Probably a glitch in vista with large batches of files.  But thanks for all your suggestions.
Logged

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

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

Page created in 0.088 seconds with 15 queries.