From ca6bb7518a66a7b1cfa7ff65a04b096a076c449a Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 9 Jul 2024 16:54:55 +0000 Subject: [PATCH] sane-tag-music: force tracknumber empty for Singles --- pkgs/additional/sane-scripts/src/sane-tag-music | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/additional/sane-scripts/src/sane-tag-music b/pkgs/additional/sane-scripts/src/sane-tag-music index c0ff5ccbe..072347186 100755 --- a/pkgs/additional/sane-scripts/src/sane-tag-music +++ b/pkgs/additional/sane-scripts/src/sane-tag-music @@ -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