Fixed bug with removing "a" and "the" in artist

This commit is contained in:
matthias@arch 2021-09-29 16:43:01 +02:00
parent 66f885dd1d
commit 4451ec7c29

View File

@ -92,7 +92,7 @@ class Nicole:
# remove 'a' or 'the' from the artist # remove 'a' or 'the' from the artist
if artist[0:1] == "a ": if artist[0:1] == "a ":
artist = artist[2:] artist = artist[2:]
elif artist[0:3] == "the ": elif artist[0:4] == "the ":
artist = artist[4:] artist = artist[4:]
# remove anything in square bracketrs (eg [Explicit]) # remove anything in square bracketrs (eg [Explicit])