[vorbis] Total Tracks Tag?

Haxe haxe at pansensack.de
Tue Oct 7 15:35:56 PDT 2003



On Tue , 2003-10-07, Beni Cherniavsky wrote:

> > [...] Some
> > players might want this to be a separate column, and most are going to
> > want to be able to sort them.
>
> Just as validly, many people would like to sort on any other column.
> A good player should have a generic facility for sorting on tags,
> being able to cope with "2/7" by something like `version sort`__.
> Such a mechnaism would be way more useful than any specific parsing
> for a certain form of TRACKNUMBER.

Right, sorting is one of the very few reasons for an app to evaluate a tag. 
But this doesn't require any sophisticated parsing or interpretation of the 
tag's content. Pure, dumb, alphabetical sorting is perfectly sufficient.

Just fill your TRACKNUMBER tag with a value like "02/14" and sort your tracks 
alphabetically. All the tracks of any certain album will be in order. (this 
example, of course, only makes sense if you also filled the ALBUM tags and 
group the list by its contents, but it still works without any parsing apart 
from alphabetical sorting). You are even a bit more flexible if you use a 
field like TRACKTOTAL for the latter figure instead.

But all this doesn't solve the lack of standardization. If I get a file from a 
friend who uses another app, I want all the tags to make sense in the 
environment of my collection. Defining a new standard field like TRACKTOTAL 
can solve this problem.

I just wanted to show, that the question of "to parse or not to parse" is 
completely independent from the need for sufficiently standardized tags.
If you don't want to standardize how a certain tag (TRACKNUMBER)'s contents 
should look like (e.g. "xx/yy"), because you say that a tag content is never 
to be parsed, then you should instead standardize a new tag name (TRACKTOTAL) 
and all the parsing issue is instantly gone.

greetz,
Hauke Hachmann

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list