1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Improved artist / title parsing

This commit is contained in:
Krateng
2018-11-28 15:33:30 +01:00
parent ee5bd0998b
commit 144198f933
5 changed files with 58 additions and 154 deletions

View File

@@ -13,10 +13,8 @@ for l in log:
title = data[2]
time = data[3]
title = cleanup.cleantitle(title)
artists = cleanup.cleanup(artist)
(title,extraartists) = cleanup.findartistsintitle(title)
artists = list(set(artists + extraartists))
(artists,title) = cleanup.fullclean(artist,title)
artistsstr = "".join(artists)