Fix for Artist + Album identification

This commit is contained in:
Dirk Alders 2025-06-02 20:59:15 +02:00
parent 402e837551
commit d7abd5f131

View File

@ -116,7 +116,7 @@ def cddb(disc_id, server_url=default_server, user=default_user, host=hostname, c
value = int(value) value = int(value)
data[key] = value data[key] = value
elif match[0] == "DTITLE": elif match[0] == "DTITLE":
art_tit = value.split("/", 2) art_tit = value.split(" / ", 2)
data[KEY_ARTIST] = art_tit[0].strip() data[KEY_ARTIST] = art_tit[0].strip()
data[KEY_ALBUM] = art_tit[1].strip() data[KEY_ALBUM] = art_tit[1].strip()
elif match[0].startswith("TTITLE"): elif match[0].startswith("TTITLE"):