Browse Source

Fix bug in jellyfin scrobbler

Colin Powell 2 năm trước cách đây
mục cha
commit
2285c5bfd6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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},