fix: push to

This commit is contained in:
2024-04-30 09:31:38 +02:00
parent 312e26ec44
commit 796f609d86
2 changed files with 5 additions and 10 deletions

View File

@@ -56,14 +56,7 @@ def music_responsive_list_item_renderer(renderer: dict) -> List[DatabaseObject]:
for song in song_list:
song.album_collection.extend(album_list)
for artist in artist_list:
existing_artist = song.main_artist_collection._find_object(artist)
if existing_artist is None:
song.feature_artist_collection.append(artist)
else:
existing_artist.merge(artist)
song.feature_artist_collection.extend(artist_list)
if len(song_list) > 0:
return song_list