mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Case is now ignored when building track titles and artist names
This commit is contained in:
@@ -28,7 +28,10 @@ class CleanerAgent:
|
||||
return (list(set(artists)),title)
|
||||
|
||||
def removespecial(self,s):
|
||||
return s.replace("\t","").replace("␟","").replace("\n","")
|
||||
s = s.replace("\t","").replace("␟","").replace("\n","")
|
||||
s = re.sub(" +"," ",s)
|
||||
return s
|
||||
|
||||
|
||||
# if an artist appears in any created rule, we can assume that artist is meant to exist and be spelled like that
|
||||
def confirmedReal(self,a):
|
||||
|
||||
Reference in New Issue
Block a user