mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-08 20:25:52 +00:00
add more is_compilation check strings
This commit is contained in:
parent
d21a834a00
commit
30e3800ded
@ -76,8 +76,10 @@ 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", "super hits",
|
substrings = [
|
||||||
"ultimate collection"]
|
"the essential", "best of", "greatest hits", "#1 hits", "number ones", "super hits",
|
||||||
|
"ultimate collection", "anthology", "great hits", "biggest hits", "the hits"
|
||||||
|
]
|
||||||
|
|
||||||
for substring in substrings:
|
for substring in substrings:
|
||||||
if substring in self.title.lower():
|
if substring in self.title.lower():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user