diff --git a/mopidy_ytmusic/library.py b/mopidy_ytmusic/library.py index f4b3544..f48bd27 100644 --- a/mopidy_ytmusic/library.py +++ b/mopidy_ytmusic/library.py @@ -901,7 +901,9 @@ def albumToTracks(self, album, bId): ): songartists = artists else: - songartists = [Artist(name=song["artists"])] + songartists = [] + for artist in song["artists"]: + songartists.append(Artist(name=artist['name'], uri=f"ytmusic:artist:{artist['id']}")) self.TRACKS[song["videoId"]] = Track( uri=f"ytmusic:track:{song['videoId']}", name=song["title"],