Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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
Attached to Project: Rockbox
Opened by jessmanboo22 - 2010-10-22
Last edited by sideral - 2011-06-18

FS#11695 - Tracks are not ordered properly (concerning place value)

The place value is not taken into account properly when listing songs in order by their track number in the database browser. The playlist browser, however, is normal, so playback is unaffected. It just makes for a slightly more awkward browsing experience in the database if you’re looking for a certain track number.

Example tracks 1, 2, 3, 10, 11, 12, 100, 120, 168.
I’m seeing them ordered like this:
1
10
100
11
12
120
168
2
3

They’re supposed to be ordered like this:
1
2
3
10
11
12
100
120
168

I’m using r28323-101021.

Closed by  sideral
2011-06-18 18:42
Reason for closing:  Invalid
Additional comments about closing:  

No clarification in past 4 weeks

I remember a huge debate over something like this a while ago.

In the case of track listing, I think you are right. This is a bug.

St. commented on 2010-10-23 01:12

My tracks *are* ordered in a “natural” sort order…

I’m assuming these numbers are track numbers, not track titles? (Because in the latter case, the ordering would be correct if no track number was present.)

The default tagnavi format does not support three-digit track numbers. This probably should be fixed. Does the following FAQ answer help?

http://www.rockbox.org/wiki/DataBase#FAQ

On further reflection, there’s one thing I don’t understand in the original problem description: The default format always prints a leading zero for single-digit track numbers, allowing track numbers with up to two digits to be sorted correctly. But you show single-digit track numbers without leading zeros in your example. Are you perhaps using a custom %format directive already?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing