From f61b34dd40ec0727e00f75fd0f306e31651b2b00 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 21 May 2024 16:52:01 +0200 Subject: [PATCH] feat: improved feature artists by also adding writer and producer to it --- music_kraken/pages/genius.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_kraken/pages/genius.py b/music_kraken/pages/genius.py index 8c8a15f..afead40 100644 --- a/music_kraken/pages/genius.py +++ b/music_kraken/pages/genius.py @@ -147,7 +147,7 @@ class Genius(Page): if primary_artist is not None: _artist_name = primary_artist.name main_artist_list.append(primary_artist) - for feature_artist in data.get("featured_artists", []): + for feature_artist in (*data.get("featured_artists", []), *data.get("producer_artists", []), *data.get("writer_artists", [])): artist = self.parse_api_object(feature_artist) if artist is not None: featured_artist_list.append(artist)