do not allow split on ampersand
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 9 Jul 2024 20:41:34 +0000 (22:41 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 9 Jul 2024 20:41:34 +0000 (22:41 +0200)
music_assistant/server/helpers/tags.py

index e7d00a1fdb9a1b16d36db21dd0c045202e373bd4..fed5b2829be489413b8a4bac596e3bfa84464d23 100644 (file)
@@ -133,10 +133,6 @@ class AudioTags:
         if tag := self.tags.get("artist"):
             if TAG_SPLITTER in tag:
                 return split_items(tag)
-            if len(self.musicbrainz_artistids) > 1:
-                # special case: artist noted as 2 artists with ampersand
-                # but with 2 mb ids so they should be treated as 2 artists
-                return split_artists(tag, allow_ampersand=True)
             return split_artists(tag)
         # fallback to parsing from filename
         title = self.filename.rsplit(os.sep, 1)[-1].split(".")[0]