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 creating taking ages, how to avoid?
« previous next »
  • Print
Pages: [1]

Author Topic: Database creating taking ages, how to avoid?  (Read 1573 times)

DervishD

  • Guest
Database creating taking ages, how to avoid?
« on: August 21, 2007, 02:46:52 PM »
Hi all :)

I'm using my iAudio X5V to store my photo collection, since all my Ogg Vorbis encoded music takes less than 16GB. I think this is a common situation, using the DAP as external storage.

Well, I have about 3000 songs, and that's very fast to index and put in the database, but the 6000 photographs are not so rapidly indexed...  The problem is that, from time to time, I change some metadata in the songs I already have and a simple "Update now" doesn't work, I have to rebuild the database, and it takes a lot.

I already know that you cannot tell the database not to scan some directories, so I'm wondering if there is a way to tell the database not to scan some suffixes (e.g. "jpg") so the photographs are not indexed.

Moreover: will the photographs take up space in the database (for example, by their filenames being listed as "do not scan in the next run"). If having 6k photographs will make my database long enough to fill almost all RAM (I have it in RAM), I'll happily remove the photographs...

Last but not least: is having a second partition a good idea to store the data I don't want the DAP to see? Will rockbox fw ignore the second partition? Will I damage my X5V (as in the bootloader not being able to boot rockbox anymore) if I partition the disk?

Thanks a lot in advance and sorry for the weird question O:)
Raúl
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Database creating taking ages, how to avoid?
« Reply #1 on: August 22, 2007, 11:34:05 AM »
Huh, I don't understand what you mean. Rockbox does not index jpeg's.

Charles
Logged

DervishD

  • Guest
Re: Database creating taking ages, how to avoid?
« Reply #2 on: August 22, 2007, 02:01:05 PM »
Hi Charles :)
Quote from: cpchan on August 22, 2007, 11:34:05 AM
Huh, I don't understand what you mean. Rockbox does not index jpeg's.

No, it doesn't, but travels the files anyway, taking a lot of time doing so. Sorry, I think I didn't explain the issue correctly  ::)

By now, I've removed the images from the DAP so the database creation and updated is fast. I probably will repartition the disk or store the images in a tarball. I don't want to be able to see them in the DAP, I just want to carry them.

Thanks :)
Raúl
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Database creating taking ages, how to avoid?
« Reply #3 on: August 22, 2007, 08:05:49 PM »
Repartitioning the drive should help as rockbox will not see the second partition as long as you use an official build. Make sure the first one is a primary partition though as otherwise rockbox wont see it...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Database creating taking ages, how to avoid?
 

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

Page created in 0.063 seconds with 15 queries.