From 4d573bc934a2ec84b93b06754f0d6e1ac1bb4ce4 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 9 Jan 2023 17:49:11 -0500 Subject: [PATCH] Fix bug where video scrobbles never start --- vrobbler/apps/scrobbles/models.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vrobbler/apps/scrobbles/models.py b/vrobbler/apps/scrobbles/models.py index 10f6eb5..944aeaa 100644 --- a/vrobbler/apps/scrobbles/models.py +++ b/vrobbler/apps/scrobbles/models.py @@ -103,15 +103,6 @@ class Scrobble(TimeStampedModel): .order_by('-modified') .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 = timezone.now() + timedelta(minutes=VIDEO_BACKOFF)