-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add Plex Watchlist to Overseerr sync #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Claude finished @mchestr's task in 3m 25s —— View job Review Complete ✅I've posted a comprehensive code review as a PR comment. Here's a summary: Overall AssessmentThis is a well-architected feature with excellent design patterns. The distributed lock mechanism is particularly impressive and production-ready. Key FindingsStrengths:
Critical Issue:
Medium Priority:
Minor Issues:
RecommendationNext Steps
|
Code Review: Plex Watchlist to Overseerr SyncThis is a well-structured implementation with good architecture decisions. Below is my comprehensive review organized by area. ✅ StrengthsArchitecture & Design
Security
Code Quality
|
Code Review: Plex Watchlist to Overseerr SyncThis is a well-architected feature implementation with strong design patterns. I've identified both strengths and areas for improvement. ✅ StrengthsArchitecture & Design
Security
Code Quality
|
Code Review: Plex Watchlist to Overseerr SyncThis is a well-architected feature implementation with excellent design patterns and strong separation of concerns. Below is my comprehensive review. ✅ StrengthsArchitecture & Design
Security
Code Quality
Database Schema
|
Add automatic syncing of users' Plex Watchlists to Overseerr requests. Features: - Per-user sync settings with toggle on user dashboard - Background polling job for periodic sync (configurable interval) - Distributed lock for multi-pod safety - Cumulative tracking of items synced and requests created - Recent sync history shown in user card - Admin controls for global enable/disable and sync interval - Sync statistics in admin dashboard Technical details: - New models: WatchlistSyncSettings, WatchlistSyncHistory, WatchlistSyncLock - Stores Plex auth token during login for watchlist API access - Uses Plex discover API to fetch user watchlist - Submits requests to Overseerr via existing API integration - Isolated Node.js instrumentation to avoid Edge Runtime issues 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Add aria-label to toggle buttons for screen reader accessibility - Replace console.error with centralized logger in watchlist actions Co-Authored-By: Claude <[email protected]>
a0b2ccb to
fc50db2
Compare
Code Review: Plex Watchlist to Overseerr SyncThis is a well-architected feature implementation with excellent design patterns and strong separation of concerns. The distributed lock mechanism is particularly impressive and production-ready. ✅ StrengthsArchitecture & Design
Security
Code Quality
Database Schema
|
Summary
Add automatic syncing of users' Plex Watchlists to Overseerr requests. This feature allows users to enable watchlist sync from their dashboard, which will automatically create requests in Overseerr for items on their Plex watchlist.
Features
Technical Details
WatchlistSyncSettings,WatchlistSyncHistory,WatchlistSyncLockFiles Changed
prisma/schema.prisma- New models and User.plexAuthToken fieldlib/auth.ts- Store Plex auth token on loginlib/watchlist/- Plex watchlist API, sync service, distributed locklib/instrumentation/node.ts- Isolated Node.js background jobsactions/watchlist.ts- User actions for settings and manual syncactions/admin/watchlist.ts- Admin actions for global settingscomponents/watchlist/- User sync card and history tablecomponents/admin/settings/watchlist-sync-settings.tsx- Admin settings UITest plan
🤖 Generated with Claude Code