mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-21 07:04:02 +00:00
Fixed Vorbis files being marked as changed when the tag "tracktotal" was
used. Thanks to hawke for finding and fixing this. Fixes #3924
This commit is contained in:
@@ -51,7 +51,7 @@ class VCommentFile(File):
|
||||
elif name == "fingerprint" and value.startswith("MusicMagic Fingerprint"):
|
||||
name = "musicip_fingerprint"
|
||||
value = value[22:]
|
||||
elif name == "tracktotal":
|
||||
elif name == "tracktotal" and "totaltracks" not in file.tags:
|
||||
name = "totaltracks"
|
||||
metadata.add(name, value)
|
||||
if self._File == mutagen.flac.FLAC:
|
||||
|
||||
Reference in New Issue
Block a user