#20 Feature Request 3083045 - Proper sort order of file names

open
nobody
None
8
2010-11-09
2010-11-09
Dave Kaye
No

Feature Request 3083045 - Proper sort order of file names

Default track names for ripperX are:
track1
track2
....
track10
track11

This causes problems when sorting files if the track names are used for the file names. When sorting this becomes:
track1.mp3
track10.mp3
track11.mp3
.....
track2.mp3
track20.mp3
track21.mp3

The attached patch corrects this by placing a leading 0 for track numbers 1-9. The new default track names are:
track01
track02
....
track10
track11

The tracks will now sort to:
track01.mp3
track02.mp3
....
track10.mp3
track11.mp3

The patch modifies the formating string for variable name_format in the file misc_util.c.

The patch is based upon ripperX svn version 59.

Discussion

  • Dave Kaye
    Dave Kaye
    2010-11-09

    • priority: 5 --> 8