Skip to content

feat(history): add modular watch history providers - #8

Draft
voidxela wants to merge 5 commits into
mainfrom
feat/modular-watch-history
Draft

voidxela wants to merge 5 commits into
mainfrom
feat/modular-watch-history

Conversation

@voidxela

@voidxela voidxela commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

Add a provider-neutral watch-history subsystem so new AIOStreams Kodi users receive watched state, resume points, and Next Up without configuring a Trakt account. Existing authorized Trakt users retain their behavior through a legacy compatibility provider, while Trakt watchlists remain independent.

Changes

  • Add history models, provider contract, manager fallback behavior, Local History storage, and a legacy Trakt adapter.
  • Persist local history and episode catalogs in versioned profile-local SQLite tables shared with recent searches.
  • Route playback monitoring, resume application, watched UI state, Next Up, and context actions through generic history actions.
  • Add History & Progress settings, one-time legacy-provider selection, an explicit cached-Trakt import action, tests, and documentation.

Verification

  • python3 -m unittest discover -s tests -v — 70 tests passed.
  • git diff --check — passed before commit.

Notes

  • Manual Kodi validation remains recommended for playback callbacks, resume behavior, and legacy-token upgrade flows.

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.

1 participant