From 0c10e78d5ed686de20b019aa0727f15a37fe8f26 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 6 Feb 2023 17:54:48 -0500 Subject: [PATCH] Fix bug in unified scrobbler for podcasts --- vrobbler/apps/scrobbles/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 9dc1bc1..60e59d0 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/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