A more meaningful name for audio formats

What features would you like to see in future versions of getID3() ?
Post Reply
WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

A more meaningful name for audio formats

Post by WaldoMonster » Wed Oct 22, 2003 6:50 pm

A new dataformat could be [audio][dataname]
And will return MP3, Musepac, OGG Vorbis, etc

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Sun Nov 02, 2003 9:14 pm

['audio']['dataformat'] already returns 'vorbis' for vorbis files.
It would be nice if it returns 'musepac' instead of 'mpc'.
Maybe there are other audio or video formats that can return a more meaningful name.
Or must it be cryptic for some reasons?

Allan Hansen
getID3() v2 developer
Posts: 445
Joined: Sun May 04, 2003 2:22 pm
Location: Holmegaard, Denmark

Post by Allan Hansen » Fri Nov 21, 2003 7:13 am

It is Musepack, not Musepac.

I suppose we could return the more meaningful names such as "MPEG Audio Layer 3", "Free Lossless Audio Codec", "Lossless Predictive Audio Compression" instad of the usual MP3, FLAC and LPAC.

Maybe not.

WaldoMonster
getID3() contributor
Posts: 112
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Post by WaldoMonster » Sat Nov 22, 2003 2:32 pm

Yes it must be Musepack :oops:.

Every video and audio format return a ['audio'/'video']['dataformat']
But not every ['audio'/'video']['codec'] returns a value.
The ['audio'/'video']['codec'] could be the place to return more meaningful names.

Post Reply