-
-
Notifications
You must be signed in to change notification settings - Fork 589
feat: add multi-Plex server support #4311
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
base: develop
Are you sure you want to change the base?
Conversation
- Allow connecting multiple Plex servers - Media shown as available if on ANY server - Users granted access if they have access to ANY server - Card-based UI following Radarr/Sonarr pattern - Per-server library sync and toggle - Database migration for per-server rating keys
…port - Add plexServerId column to User entity to track originating server - Include server owners in user import (they don't appear in /api/users) - Display server column with colored badges in User List - Display server column in Import Plex Users modal - Show Plex Server field in User General Settings page - Add Bulk Delete button for mass user deletion - Fix server ID 0 being treated as falsy in JavaScript - Move /plex/users route to prevent route shadowing - Add debug logging for user import and server processing - Update multi-plex-server-implementation.md with new features
- Store server name on user for non-admin access to server info - Populate plexServerName on login and import (backwards compatible) - Hide server preset dropdown for additional servers - Require Server Owner Token for non-primary servers - Display Plex Server badge in user settings and lists
- Update README to mention multi-Plex server support - Fix Array type syntax to use T[] instead of Array<T> - Remove unused sortBy import - Apply Prettier formatting to modified files
- Set plexServerId to 0 for admin on first login - Set plexServerName from primary server configuration - Existing admins get server info updated on next login
- Add 32 new translation keys for server management UI - Add keys for bulk delete, server column, user settings
- Comprehensive implementation guide for porting feature - References PR sct#4311 and all related commits - Includes backend, frontend, and database changes
|
This would be so freaking awesome. My PMS has always been super unstable, and I finally split it up into 9 instances (might be overkill, but I have to say that it's been SO much faster and smoother, with the SQLite queries being split up across so many instances). Looking forward to having this feature! |
|
@juchong As much as I want this, I don' think this is ready to merge. I had trouble testing (persistent setup alert, that will not go away so I can actually complete the setup) and I can't get it to connect to the 2nd server (no matter what it is). The first server is fine. It may help to know that both of my servers are under the same account. |
Description
Adds support for connecting multiple Plex servers to a single Overseerr instance.
Features:
Backend Changes:
PlexSettingsnow stored as array with unique IDsMediaPlexServerentity for per-server rating key trackingplexServerIdandplexServerNameon User entity/api/v1/settings/plex/{plexId}PlexTvAPI.checkUserAccessAnyServer()for multi-server authPlexTvAPI.getAllUsersFromAllServers()for user importFrontend Changes:
SettingsPlexServersandPlexServerModalcomponentsScreenshot (if UI-related)
To-Dos
yarn buildyarn i18n:extractIssues Fixed or Closed