mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Improve track number tags format in id3v2
This commit is contained in:
@@ -522,7 +522,7 @@ namespace TagLib.Id3v2 {
|
|||||||
RemoveFrames (ident);
|
RemoveFrames (ident);
|
||||||
} else if (count != 0) {
|
} else if (count != 0) {
|
||||||
SetTextFrame (ident, string.Format (
|
SetTextFrame (ident, string.Format (
|
||||||
CultureInfo.InvariantCulture, "{0}/{1}",
|
CultureInfo.InvariantCulture, count > 9 && number > 0 ? "{0:00}/{1}" : "{0}/{1}",
|
||||||
number, count));
|
number, count));
|
||||||
} else {
|
} else {
|
||||||
SetTextFrame (ident, number.ToString (
|
SetTextFrame (ident, number.ToString (
|
||||||
|
|||||||
Reference in New Issue
Block a user