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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  When is it necessary to rebuild the Database?
« previous next »
  • Print
Pages: [1]

Author Topic: When is it necessary to rebuild the Database?  (Read 250 times)

Offline iPodVT

  • Member
  • *
  • Posts: 102
When is it necessary to rebuild the Database?
« on: December 01, 2022, 12:49:55 PM »
Is it recommended or necessary to rebuild the Database each time I install a new dev build of Rockbox?  Or maybe the need is specified somewhere within each individual release?

For that matter, does the same apply to the bootloader?  (I know this is not the correct forum for general bootloader questions, but in this case it seems natural to include it with my question above.)

Thanks.
Logged

Online Frankenpod

  • Member
  • *
  • Posts: 641
Re: When is it necessary to rebuild the Database?
« Reply #1 on: December 01, 2022, 05:16:03 PM »
I think it depends on whether the newer dev build has changed anything about the working or structure of the database.  There was a time when a number of new dev builds in a row involved changes to the structure of it and invalidated the existing db files, but I don't _think_ that is always necessarily the case.
(It certainly was the case when they removed "album artist" field from the DB then put it back again)

You can probably make a guess looking at the patches list to see what's been merged recently - do any of them have anything DB specific?

Just my impression as an RB user who updates the version fairly often.  I presume others can give a more definitive answer.
« Last Edit: December 01, 2022, 05:17:55 PM by Frankenpod »
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 102
Re: When is it necessary to rebuild the Database?
« Reply #2 on: December 01, 2022, 11:24:56 PM »
Thanks for your reply.

I guess the safe thing to do is to always initialize (or update?) the DB after reinstalling the firmware - certainly if a lot of dev builds have been posted since the last time a user reinstalls.  Lately I've been following the code changes notes pretty closely on a daily basis, on both the website's front page and Daily Dev Builds page, but it's often/usually not at all clear to me exactly what the implications of those changes are.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 876
Re: When is it necessary to rebuild the Database?
« Reply #3 on: December 02, 2022, 08:51:31 AM »
I haven't rebuilt my database in several years
just update it when I put on more music

and I skipped that removal of album artist thankfully
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 876
Re: When is it necessary to rebuild the Database?
« Reply #4 on: December 02, 2022, 08:55:29 AM »
we try to update bootloaders VERY infrequently as once verified they work we don't want to break anything and they just load the code into ram

so unless something is broken we don't touch them
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 102
Re: When is it necessary to rebuild the Database?
« Reply #5 on: December 02, 2022, 08:49:32 PM »
Thanks for the clarifications re when to rebuild the db and when to reinstall the bootloader.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  When is it necessary to rebuild the Database?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.056 seconds with 21 queries.