Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a Stremio addon feature that exposes user watchlists as Stremio catalogs with configurable filters and custom catalog support.
Changes:
- Implemented Stremio addon backend with database models, migrations, and API endpoints for catalog configuration and management
- Added frontend UI for addon installation, catalog configuration, and custom catalog management
- Integrated addon with existing watchlist infrastructure using shared filtering and ordering logic
Reviewed changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
docs/stremio-catalogs-plan.md |
Planning document describing Stremio addon architecture and implementation strategy |
backend/src/librarysync/db/models.py |
Added StremioAddonConfig, StremioCustomCatalog, and StremioCustomCatalogItem models |
backend/src/librarysync/db/migrations/versions/c9a6b5d7e8f1_add_stremio_addon_tables.py |
Database migration creating Stremio addon tables |
backend/src/librarysync/core/stremio_addon.py |
Core helpers for addon config management and catalog defaults |
backend/src/librarysync/core/catalog_ordering.py |
Made build_show_progress_subquery public for reuse in Stremio endpoints |
backend/src/librarysync/api/routes_stremio_addon.py |
Auth-protected API for addon configuration and custom catalog CRUD |
backend/src/librarysync/api/routes_stremio_addon_public.py |
Public Stremio addon endpoints (manifest and catalog serving) |
backend/src/librarysync/api/routes_watchlist.py |
Enhanced watchlist filtering to support in_progress status using progress subquery |
backend/src/librarysync/main.py |
Registered Stremio routes and added /stremio-addon page endpoint |
backend/src/librarysync/templates/base.html |
Added navigation link for Stremio addon page |
backend/src/librarysync/templates/stremio-addon.html |
Frontend template for addon configuration UI |
backend/src/librarysync/static/page-stremio-addon.js |
JavaScript implementation for addon page interactions |
frontend/input.css |
Added Tailwind styles for Stremio icon |
backend/src/librarysync/static/styles.css |
Compiled CSS with new Stremio icon styles |
backend/tests/test_watchlist_filters.py |
Tests for watchlist status filtering logic |
backend/tests/test_stremio_addon_catalogs.py |
Tests for Stremio addon catalog helpers and query builders |
backend/pyproject.toml |
Bumped version to 0.11.2 |
AGENTS.md |
Reformatted documentation with improved structure and readability |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.