Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
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 <asieoniezi_at_gmx.net>
Date: Tue, 31 May 2011 01:19:11 +0200

Michael Sparmann <theseven_at_gmx.net> 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.)

sideral
Received on 2011-05-31


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa