Another attempt to fix the Jellyfin issue
This time, we simplify the progress updates, aggressively mark tracks as 100 played if they are marked played_to_completion, and implement a hack for Jellyfin spamming us with progress updates less than a second apart.
This commit is contained in:
@ -77,7 +77,6 @@ def check_scrobble_for_finish(
|
||||
scrobble.in_progress = False
|
||||
scrobble.is_paused = False
|
||||
scrobble.played_to_completion = True
|
||||
scrobble.playback_position_ticks = scrobble.media_obj.run_time_ticks
|
||||
scrobble.save(
|
||||
update_fields=["in_progress", "is_paused", "played_to_completion"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user