Support and General Use > Audio Playback, Database and Playlists
Database:"Load to RAM" interferes with filtering by filename/directory
(1/1)
chris_s:
I have an entry in my tagnavi.config that looks like this:
--- Code: ---"xyz" -> artist ? filename ~ "/some directory" -> album -> title = "fmt_title"
--- End code ---
It uses a filter so that only tracks from a certain directory are returned. This works perfectly fine as long as "Load to RAM" is not enabled. When I enable it though, as soon as Rockbox has finished loading the database to RAM after a restart, this entry won't return any results anymore.
Anybody know what's going on there?
chris_s:
Looks like this can be fixed by turning off the directory cache.
Bilgus:
Sounds like a bug
chris_s:
yeah, apparently. Had a quick peek at tagcache.c which seems a bit daunting at first glance.
For my personal usage, I think I will leave the directory cache disabled as I only ever use the database. Wasn't really aware that it had been enabled in the first place. I also just realized that either loading the DB to RAM or building the dir cache each, individually, just takes a few seconds after booting, but having both enabled at the same time results in a ~40 second waiting time during which the database is extremely slow to use. This means that turning off the dir cache hugely improves the user experience in my case and is something I should have done much earlier.
Navigation
[0] Message Index
Go to full version