From: Marcel van der Veldt Date: Tue, 9 Jul 2024 20:41:34 +0000 (+0200) Subject: do not allow split on ampersand X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=acd2251fa93d653de93e0e11d53588a6ebebfaf4;p=music-assistant-server.git do not allow split on ampersand --- diff --git a/music_assistant/server/helpers/tags.py b/music_assistant/server/helpers/tags.py index e7d00a1f..fed5b282 100644 --- a/music_assistant/server/helpers/tags.py +++ b/music_assistant/server/helpers/tags.py @@ -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]