mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
add "super hits" to compilation album trigger words
This commit is contained in:
+2
-1
@@ -159,7 +159,8 @@ class Album:
|
|||||||
if "various artists" in artists:
|
if "various artists" in artists:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
substrings = ["the essential", "best of", "greatest hits", "#1 hits", "number ones"]
|
substrings = ["the essential", "best of", "greatest hits", "#1 hits", "number ones", "super hits"]
|
||||||
|
|
||||||
for substring in substrings:
|
for substring in substrings:
|
||||||
if substring in self.title.lower():
|
if substring in self.title.lower():
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user