Handle artist MBIDs as multivalue tags

Instead of joining artist MBIDs with a ';' save them as multiple values
to the tag. (This is how Picard saves that tag.)

Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
This commit is contained in:
Frederik “Freso” S. Olesen
2019-02-13 22:59:58 +01:00
parent 42e7a77645
commit 14aa8b7f7c
2 changed files with 41 additions and 32 deletions

View File

@@ -143,8 +143,9 @@ class _Credit(list):
i.get('artist').get('name', None)))
def getIds(self):
# split()'s the joined string so we get a proper list of MBIDs
return self.joiner(lambda i: i.get('artist').get('id', None),
joinString=";")
joinString=";").split(';')
def _getWorks(recording):