From cef153656735d866ee5ea1654a4d52d6cdaf63cc Mon Sep 17 00:00:00 2001 From: Rob Sonke Date: Mon, 16 Dec 2024 10:58:58 +0100 Subject: [PATCH] fix: Solved a bug for applying genres in Soundcloud tracks (#1803) --- music_assistant/providers/soundcloud/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/providers/soundcloud/__init__.py b/music_assistant/providers/soundcloud/__init__.py index f74e88e72..a2a792287 100644 --- a/music_assistant/providers/soundcloud/__init__.py +++ b/music_assistant/providers/soundcloud/__init__.py @@ -438,7 +438,7 @@ async def _parse_track(self, track_obj: dict, playlist_position: int = 0) -> Tra if track_obj.get("description"): track.metadata.description = track_obj["description"] if track_obj.get("genre"): - track.metadata.genres = track_obj["genre"] + track.metadata.genres = [track_obj["genre"]] if track_obj.get("tag_list"): track.metadata.style = track_obj["tag_list"] return track