From acd2251fa93d653de93e0e11d53588a6ebebfaf4 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Tue, 9 Jul 2024 22:41:34 +0200 Subject: [PATCH] do not allow split on ampersand --- music_assistant/server/helpers/tags.py | 4 ---- 1 file changed, 4 deletions(-) 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] -- 2.34.1