瀏覽代碼

Fix bug where video scrobbles never start

Colin Powell 2 年之前
父節點
當前提交
4d573bc934
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      vrobbler/apps/scrobbles/models.py

+ 0 - 9
vrobbler/apps/scrobbles/models.py

@@ -103,15 +103,6 @@ class Scrobble(TimeStampedModel):
             .order_by('-modified')
             .order_by('-modified')
             .first()
             .first()
         )
         )
-        # Check if playback_position_ticks has changed from this scrobble
-        scrobble_changed = (
-            scrobble
-            and scrobble.playback_position_ticks
-            != jellyfin_data['playback_position_ticks']
-        )
-        if not scrobble_changed:
-            logger.info('Scrobble playback has not changed, not scrobbling')
-            return
 
 
         # Backoff is how long until we consider this a new scrobble
         # Backoff is how long until we consider this a new scrobble
         backoff = timezone.now() + timedelta(minutes=VIDEO_BACKOFF)
         backoff = timezone.now() + timedelta(minutes=VIDEO_BACKOFF)