ID3v2 field TRCK and setTrack

Scott Wheeler wheeler at kde.org
Tue Aug 17 03:05:35 CEST 2004


On Tuesday 17 August 2004 0:25, Tor Hveem wrote:
> List, 
> 
> I was reading the id3v2 spec and came across this:
> 
>   TRCK
>    The 'Track number/Position in set' frame is a numeric string
>    containing the order number of the audio-file on its original
>    recording. This MAY be extended with a "/" character and a numeric
>    string containing the total number of tracks/elements on the original
>    recording. E.g. "4/9".
> 
> That is something I wanted to use in my application, but when I consult 
> id3v2tag.h I see this:
>       virtual void setTrack(uint i);
> 
> This must be a bug, I think. But alas, I'm not fluent in c++ so 
> unfortunately I cannot produce a patch.

This is intentional.  The "generic" tag API only supports the features that 
are supported by all tag types.  See the TextIdentificationFrame 
documentation for info on how to set the frame text.

-Scott


More information about the taglib-devel mailing list