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

Rockbox mail archive

Subject: Re: FS#12107 - Remove track-number generation heuristic from database

Re: FS#12107 - Remove track-number generation heuristic from database

From: sideral <>
Date: Tue, 31 May 2011 01:19:11 +0200

Michael Sparmann <> writes:
> [Paul Louden:]

>> The nice thing about "NN - Title.mp3" is that also works for filename
>> sorting, so doesn't require track number guessing.
> That's only true for numbers padded with leading zeroes, right?

If there's one convention that holds universally across all random album
downloads off the Internet, it's that within an album, the filenames
typically are sorted alphanumerically specifically to establish a track
order. Typically, the track number is part of the filename and
establishes that order, which often requires leading zeros.

But whether said filename component actually has leading zeros, and
where it appears in the filename, is hard to detect heuristically when
looking at a single file or at a random collection of files. (Assuming
that each directory holds only a single album is unsafe.)

Received on 2011-05-31

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