From b6e0607aabd5248d7241812666aae5dc569c5163 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 24 Jan 2023 02:41:48 -0500 Subject: [PATCH] Fix jellyfin video scrobbles for real --- 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 3664134..2773ed8 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -105,7 +105,7 @@ class Scrobble(TimeStampedModel): .order_by('-modified') .first() ) - if scrobble and scrobble.playback_percent <= 100: + if scrobble and scrobble.percent_played <= 100: logger.info( f"Found existing scrobble for video {video}, updating", {"scrobble_data": scrobble_data},