sane-tag-music: force tracknumber empty for Singles

This commit is contained in:
2024-07-09 16:54:55 +00:00
parent 612274d0b2
commit ca6bb7518a

View File

@@ -258,6 +258,7 @@ class Tags:
for artist in self.albumartist[::-1] + self.artist[::-1]:
if loose_compare_str(self.album[0], "Singles") or loose_compare_str(self.album[0], artist):
self.album = [ artist ]
self.tracknumber = []
def to_path(self, ext: str) -> str | None:
artist = self.albumartist or self.artist