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
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Dealing With Long Database Delays - Part Two
« previous next »
  • Print
Pages: [1]

Author Topic: Dealing With Long Database Delays - Part Two  (Read 77 times)

Offline iPodVT

  • Member
  • *
  • Posts: 102
Dealing With Long Database Delays - Part Two
« on: January 17, 2023, 01:00:14 AM »
I have been experimenting with adding filters to the Database Browser by substituting the tagnavi_user.config and tagnavi_custom.config files in place of the default tagnavi.config file, and I have discovered something that seems very surprising to me.

I have all of my music tracks in a directory named _otherLIBs at the root of my iPod's storage, and in "Settings->General Settings->Database->Select directories to scan" I have specified that directory as the only place where Rockbox should look for music files.  After the database is initialized and built, I use Database->Track to display a list of all 3212 tracks in the database, which takes Rockbox about a full minute to accomplish.  The instruction in tagnavi.config that Rockbox uses for that operation is:

"Track" -> title = "fmt_alphanum_title"

I edited that instruction to include the condition that each track to be listed must have a file (path) name that begins with the name of the _otherLIBs directory (which all of them do).  So the instruction becomes:

"Track"  -> title ? filename ^ "/_otherLIBs" -> title = "fmt_alphanum_title"

Using that edited instruction it takes Rockbox between one and two seconds (instead of a full minute) to display a list of all 3212 tracks in the database.

Is the logic [edit: not "logic", "mechanism"] behind this usage something that Rockbox could incorporate in some form to speed up some of its default operations?
« Last Edit: January 17, 2023, 01:25:04 AM by iPodVT »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Dealing With Long Database Delays - Part Two
 

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

Page created in 0.039 seconds with 17 queries.