mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Better metadata grabbing and caching
This commit is contained in:
@@ -38,6 +38,12 @@ class CleanerAgent:
|
||||
if a.strip() == "":
|
||||
return []
|
||||
|
||||
if a.strip() in self.rules_notanartist:
|
||||
return []
|
||||
|
||||
if " performing " in a.lower():
|
||||
return self.parseArtists(re.split(" [Pp]erforming",a)[0])
|
||||
|
||||
if a.strip() in self.rules_belongtogether:
|
||||
return [a.strip()]
|
||||
if a.strip() in self.rules_replaceartist:
|
||||
|
||||
Reference in New Issue
Block a user