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
| | |-+  Database sorting problem (dir buffer related?)
« previous next »
  • Print
Pages: [1]

Author Topic: Database sorting problem (dir buffer related?)  (Read 1117 times)

DervishD

  • Guest
Database sorting problem (dir buffer related?)
« on: November 13, 2007, 09:24:57 AM »
Hi all :)

I have in my tagnavi_custom a specification to browse by tracks, alphabetically:
%format "track" "%s [%s]" title artist
...
%menu_start "DDTracks" "Tracks"
"All tracks" -> title = "track"
...
"A" -> title ? title ^ "A" = "track"

And the same for all other letters. This menu allows me to pick a letter and see all tracks whose name starts with that letter.

It works like a charm... except the "S" and "T" menus doesn't show the matches alphabetically.

The thing is that I've found that if the list of matches is longer than the directory buffer size, then the list is not sorted (but no "dir buffer full" message is issued). OK, I can admit this, but then, why when I choose "All tracks" the result IS sorted alphabetically? The entire list is about 3000 songs, while the "S" and "T" matches are only about 300-400 songs each (yes, most of my songs seem to start with "S" or "T"...). Maybe my problem is NOT related to the directory buffer size? Is this limit only important when doing matches?

Looks like the last answer is "yes", but I'm not sure.

I would like to keep my directory buffer size small, and if the problem is that the buffer size is a hard limit which is hit when doing matches, I will have to replace my "S" entry with "Sa" "Se" "Si"... entries (the same for "T"). Not a problem, really, but a bit annoying. That's why I want to know if all this mess is my fault O:)

Thanks a lot in advance

Raúl Núñez de Arenas Coronado
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Database sorting problem (dir buffer related?)
 

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

Page created in 0.035 seconds with 13 queries.