dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Sort files after ID3 track number

Re: Sort files after ID3 track number

From: TP Diffenbach <>
Date: Tue, 22 Apr 2003 11:39:45 -0400

Quoting Chris Holt <>:

> On Tue, 22 Apr 2003 10:20:28 -0400, wrote:
> >i agree, i would also like to see a way to organize tracks in a
> >directory by the id3 track number
> If you simply add the track number as the first part of the
> filename, it
> adds only two or three characters to the name, AND you get the
> advantage
> of track order listing on both the PC and the player.

I've written a patch to remove, from the directory listing, some arbitarry prefix -- such as a track number -- from the DISPLAYED filename.

For example, given a file name
01- Trackname.mp3
what would be displayed is:

The patch allows specifying the charcter class (alpha, numeric, alphanumeric, punctuation, space) of the character to break on, and whether to display starting from the breaking character or the next character. In the example above, the breaking character class would be space, and the display would start after the first space.

The patch is complete excpet for the code to save the setting; when that's added I'll submit the patch.

Using this patch, you can name the file with a leading track number, for sorting purposes, and never have to see that track number displayed. Will this achieve what you want?

Archos FM needs a Rockbox!
Received on 2003-04-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy