Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category ID3 / meta data
  • Assigned To No-one
  • Operating System Sansa AMSv2
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.12
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by steady_bear - 2013-08-07
Last edited by kugel. - 2014-01-15

FS#12888 - Discnumber tag is not honoured for large numbers

Hi,
A rather trivial bug, but I’ll file it all the same:

Having a discnumber greater than 9 will cause miss ordering of discs/tracks. ie
1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

Adding a leading zero doesn’t help, adding 100 to each number is the only current work around that I’ve found.

Closed by  kugel.
2014-01-15 22:24
Reason for closing:  Fixed
Additional comments about closing:  

84c7d61

Check out the “Interpret numbers when sorting.” setting, in “General Settings|File View”. From the manual:

As whole numbers enables a sorting algorithm which is similar to the default sorting of, for example, Windows Explorer, Mac OS X’s Finder or Nautilus, with regards to numbers at the beginning or within filenames. It combines consecutive digits to a number used for sorting, taking leading zeros into account.
As digits disables this algorithm, and causes every digit to be compared separately. The following table demonstrates the two sorting methods.”

http://download.rockbox.org/daily/manual/rockbox-sansaclipplus/rockbox-buildch8.html#x11-1340008.2

Cheers for the thought, unfortunately the disc sorting algorithm seems to be entirely independent of this option.

I fixed this. Just as a hint: You can change tagnavi.config (or create your own with a different name) to change how tags are displayed. This then affects the sorting. For example you could have avoided this by changing the line

%format “fmt_title” “%d.%02d. %s - %02d:%02d” discnum tracknum title Lm Ls ? discnum > “0”

to

%format “fmt_title” “%02d.%02d. %s - %02d:%02d” discnum tracknum title Lm Ls ? discnum > “0”.

Anyway, I changed it so the “Interpret numbers when sorting” affects the database browser too.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing