diff --git a/music_assistant/music_providers/ytmusic/ytmusic.py b/music_assistant/music_providers/ytmusic/ytmusic.py index ed4910a45..8503557cf 100644 --- a/music_assistant/music_providers/ytmusic/ytmusic.py +++ b/music_assistant/music_providers/ytmusic/ytmusic.py @@ -325,7 +325,10 @@ async def _parse_album(self, album_obj: dict, album_id: str) -> Album: album.artists = [ await self._parse_artist(artist) for artist in album_obj["artists"] - if artist.get("id") + # artist object may be missing an id + # in that case its either a performer (like the composer) OR this + # is a Various artists compilation album... + if (artist.get("id") or artist["name"] == "Various Artists") ] if "type" in album_obj: if album_obj["type"] == "Single":