Explorar o código

Fix bug in unified scrobbler for podcasts

Colin Powell %!s(int64=2) %!d(string=hai) anos
pai
achega
0c10e78d5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vrobbler/apps/scrobbles/models.py

+ 1 - 1
vrobbler/apps/scrobbles/models.py

@@ -255,7 +255,7 @@ class Scrobble(TimeStampedModel):
             scrobble_data['video_id'] = media.id
         if media.__class__.__name__ == 'Episode':
             media_query = models.Q(podcast_episode=media)
-            scrobble_data['podcast_id'] = media.id
+            scrobble_data['podcast_episode_id'] = media.id
         if media.__class__.__name__ == 'SportEvent':
             media_query = models.Q(sport_event=media)
             scrobble_data['sport_event_id'] = media.id