GNOME Bugzilla – Bug 133410
gstid3tag doesnt handle track-count
Last modified: 2004-12-22 21:47:04 UTC
The id3v2 specification says about the TRCK frame: 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". gstid3tag.c currently ignores this by converting the string to a number using strtoul. If the string following the number is not the end of the string, the tag doesn't get added. There should be a check, similar to how GST_TAG_DATE is formatted properly to catch GST_TAG_TRACK_NUMBER and GST_TAG_TRACK_COUNT in the case that TRCK appears as number/total.
Created attachment 24057 [details] [review] possible patch
added to my local tree, will commit after 0.7.4 is out.
commit verified.