fix: KeyError on missing artists

This commit is contained in:
cwilvx
2025-06-16 20:29:47 +02:00
parent 7c295f42ad
commit 2f14b6e6c4
2 changed files with 23 additions and 5 deletions
+3
View File
@@ -29,6 +29,9 @@ class BecauseYouListened(HomepageRoutine):
MixesPlugin().get_because_items(list(entry.values()))
)
if not because_you_listened_to_artist or not artists_you_might_like:
continue
HomepageStore.entries[self.store_keys[0]].items[
user.id
] = because_you_listened_to_artist