mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-08 04:05:35 +00:00
add "super hits" to compilation album trigger words
This commit is contained in:
parent
c098025f0e
commit
0b0ff4218a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user