From 36eda9f258006247e1b1297973c8d15a97af9d86 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 22 Mar 2023 23:31:09 -0400 Subject: [PATCH] Fix primary image for podcast episodes --- vrobbler/apps/podcasts/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/podcasts/models.py b/vrobbler/apps/podcasts/models.py index 5a3ca14..4abd16c 100644 --- a/vrobbler/apps/podcasts/models.py +++ b/vrobbler/apps/podcasts/models.py @@ -80,8 +80,8 @@ class Episode(ScrobblableMixin): @property def primary_image_url(self) -> str: url = "" - if self.podcast.cover: - url = self.podcast.cover.url + if self.podcast.cover_image: + url = self.podcast.cover_image.url return url @classmethod