Skip to content

fix: auto-mark items watched in MDBList on playback completion - #543

Open
nandhanay wants to merge 1 commit into
ProdigyV21:mainfrom
nandhanay:fix/mdblist-watch-sync
Open

fix: auto-mark items watched in MDBList on playback completion#543
nandhanay wants to merge 1 commit into
ProdigyV21:mainfrom
nandhanay:fix/mdblist-watch-sync

Conversation

@nandhanay

Copy link
Copy Markdown

Fixes #539

When MDBList is selected as the sync provider, completing playback of a movie or episode did not automatically mark the item as watched in MDBList's history, requiring manual marking after every item.

Changes

  • MdbListRemoteProvider: On scrobbleStop(), if progress >= WATCHED_THRESHOLD, automatically invoke markMovieWatched / markEpisodeWatched and clear the active playback session.
  • Web MDBList Client: On scrobble("stop") with progress >= 80, automatically trigger addToHistory(item).
  • Unit Tests: Added MdbListRemoteProviderTest covering movie and episode completion threshold logic.

Testing

  • Validated scrobbleStop unit tests for sub-threshold and threshold progress.
  • Verified watched history sync behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Watch Status Not Syncing with MDBlist

1 participant