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: commitid, entryage
« previous next »
  • Print
Pages: [1]

Author Topic: Database: commitid, entryage  (Read 997 times)

Offline melvix

  • Member
  • *
  • Posts: 2
Database: commitid, entryage
« on: August 18, 2009, 03:42:14 PM »
Hello, somehow the commitid of the database was set from "19" back to "1". Maybe this happended because of an update or the changing of time/date, i don't know.   ???
Now, is there a possibility to alter the counter of the commitid to "20". Can I correct the entryage and lastplayed tag? I could then modify the database_changelog file and reimport it in a new database.

Thank you for help
 
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: Database: commitid, entryage
« Reply #1 on: August 18, 2009, 05:32:38 PM »
You can try the following (no guarantee it will work):

- shut down your player, connect to PC, turn it on again
- this should give you bootloader USB (you didn't mention your player type)
- go to /.rockbox and backup all the database*.* files
- open database_idx.tcd in a hex editor
- change byte at position 0x10 from current commitid (1?) to 20 (the commitid is the 5th 32bit number in the file)
- disconnect and start player

Logged

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

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

Page created in 0.062 seconds with 15 queries.