[scrobblers] Use MediaSourceId to avoid multiple Jellyfin scrobbles

This commit is contained in:
2026-03-02 08:41:11 -05:00
parent 82a7fd8673
commit a027e877f7
5 changed files with 40 additions and 0 deletions

View File

@ -153,6 +153,7 @@ def jellyfin_scrobble_media(
return media_obj.scrobble_for_user(
user_id,
source=post_data.get(JELLYFIN_POST_KEYS.get("SOURCE")),
source_id=post_data.get(JELLYFIN_POST_KEYS.get("MEDIA_SOURCE_ID")),
playback_position_seconds=playback_position_seconds,
status=playback_status,
)