- Status Closed
- Percent Complete
- Task Type Bugs
- Category Database
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#8859 - Problem with DISCNUMBER in the Database
I am using revision 16976 on a Sansa e200, but this should affect all players.
The database uses the DISCNUMBER-tag to create a view like <discno>.<track>, i.e. 4.01.
But if you tag a set of cds that has more than 9 cds, the ordering inside the database doesn't work correctly anymore, as it sorts like this:
1.01 … 1.20
10.01 … 10.20 ← !
11.01 … 11.01 ← !
2.01 … 2.02
I haven't tried filling up the DISCNUMER-tag with leading zeros, but I never noticed this was necessary on the track-no.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
The database uses the format string for sorting which is set to one digit for discnumber and 2 digits for tracknumber. If you want more digits to sort correctly, you can adapt the string in tagnavi.config (see http://www.rockbox.org/twiki/bin/view/Main/DataBase#tagnavi_config_v2_0_Syntax )
For example change
%format "fmt_title" "%d.%02d. %s" discnum tracknum title ? discnum > "0"
to
%format "fmt_title" "%02d.%03d. %s" discnum tracknum title ? discnum > "0"
for 2 digit discnumbers and 3 digit track numbers. Note that tagnavi.config will get overwritten with every update, so the better option is to create your own tagnavi_custom.config.