Skip to content

Commit

Permalink
Fix: typo causes wallpaper generation to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Jan 16, 2025
1 parent 5bd94af commit 000c9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/controllers/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ async def _update_playlist_metadata(
# fanart image
fanart_image = next((x for x in cur_images if x.type == ImageType.FANART), None)
if not fanart_image or self._collage_images_dir in fanart_image.path:
img_filename = thumb_image.path if thumb_image else f"{uuid4().hex}_fanart.jpg"
img_filename = fanart_image.path if fanart_image else f"{uuid4().hex}_fanart.jpg"
if collage_fanart_image := await self.create_collage_image(
all_playlist_tracks_images, img_filename, fanart=True
):
Expand Down

0 comments on commit 000c9e4

Please sign in to comment.