Browse Source

Fix bug in jellyfin scrobbler

Colin Powell 2 years ago
parent
commit
2285c5bfd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vrobbler/apps/scrobbles/models.py

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

@@ -105,7 +105,7 @@ class Scrobble(TimeStampedModel):
             .order_by('-modified')
             .order_by('-modified')
             .first()
             .first()
         )
         )
-        if scrobble and scrobble.playback_perecnt <= 100:
+        if scrobble and scrobble.playback_percent <= 100:
             logger.info(
             logger.info(
                 f"Found existing scrobble for video {video}, updating",
                 f"Found existing scrobble for video {video}, updating",
                 {"scrobble_data": scrobble_data},
                 {"scrobble_data": scrobble_data},