FS#9329 - Remove total tracks and total discs from ID3v2 tags.
Attached to Project:
Rockbox
Opened by Magnus Holmgren (learman) - Wednesday, 27 August 2008, 19:38 GMT
Opened by Magnus Holmgren (learman) - Wednesday, 27 August 2008, 19:38 GMT
|
DetailsThis patch removes any total tracks and total discs number from the track and disc number fields in ID3v2 tags, so that track and disc numbers are displayed consistently across different tagging formats.
What happens is that if a number larger than zero can be parsed from the start of the field, then the field is terminated on the first "/" char. Added as a patch as I don't know if this behavior is wanted. |
This task depends upon
Realistically, I expect more reports like the one that prompted you to post the patch rather than just use it yourself if we don't include this behaviour.
Any chance you know of a specification somewhere that says the "Track" and "Disc number" fields are supposed to be numeric, or supposed to not contain total tracks, or anything else that would help justify 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".
TPOS
The 'Part of a set' frame is a numeric string that describes which part of a set the audio came from. This frame is used if the source described in the "TALB" frame is divided into several mediums, e.g. a double CD. The value MAY be extended with a "/" character and a numeric string containing the total number of parts in the set. E.g. "1/2".
Not exactly what you hoped for.