This commit is contained in:
Nathan Thomas 2022-04-25 14:47:35 -07:00
commit b9ca39c869

View file

@ -174,7 +174,12 @@ class TrackMetadata:
self.date = resp.get("releaseDate")
self.copyright = resp.get("copyright")
self.albumartist = safe_get(resp, "artist", "name")
if artists := resp.get("artists"):
self.albumartist = ", ".join(a["name"] for a in artists)
else:
self.albumartist = safe_get(resp, "artist", "name")
self.disctotal = resp.get("numberOfVolumes", 1)
self.isrc = resp.get("isrc")
# label not returned by API