configure to allow updating artist separators

+ remove ampersand from default
+ misc
This commit is contained in:
mungai-njoroge
2023-08-25 20:09:50 +03:00
parent 71cab5f5ea
commit 9972f64e8c
7 changed files with 20 additions and 10 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ def split_artists(src: str):
"""
Splits a string of artists into a list of artists.
"""
separators = get_flag(ParserFlags.ARTIST_SEPARATORS)
separators: set = get_flag(ParserFlags.ARTIST_SEPARATORS)
separators = separators.union({","})
for sep in separators:
src = src.replace(sep, "߸")