Browse Source

Fix primary image for podcast episodes

Colin Powell 2 years ago
parent
commit
36eda9f258
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vrobbler/apps/podcasts/models.py

+ 2 - 2
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