From 35214de127c6cd3cfb41f0758b596cb7ef6f6c8a Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 5 Jun 2023 10:20:08 -0400 Subject: [PATCH] Fix jellyfin overwriting scrobbles --- vrobbler/apps/scrobbles/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 348a836..3555bba 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -685,8 +685,8 @@ class Scrobble(TimeStampedModel): # but we also don't want to create new videos, so in # this special case, we allow jellyfin resumed status # to allow a scrobble to be updated. - jellyfin_in_progress = scrobble_data.get("jellyfin_status", None) - if scrobble and (scrobble.can_be_updated or jellyfin_in_progress): + # jellyfin_in_progress = scrobble_data.get("jellyfin_status", None) + if scrobble and (scrobble.can_be_updated): # or jellyfin_in_progress): source = scrobble_data["source"] mtype = media.__class__.__name__ logger.info(