Auto-configure Seerr from Wholphin server plugin#1418
Open
matschi95 wants to merge 1 commit into
Open
Conversation
f6d3f96 to
5a5c0e1
Compare
Consume the new /wholphin/seerrsettings endpoint to set up Seerr on first Jellyfin login: server URL, auth method (ApiKey/Local/Jellyfin) and credentials are pushed by the plugin so the user doesn't have to configure Seerr manually. Supports useCurrentUser=true for the Jellyfin auth method, which stashes the in-memory Jellyfin password during password-based login and reuses it for Seerr. On QuickConnect / token-based logins the password is not available — the URL and username are pre-filled in the Add Seerr Server dialog so the user only enters the password once. If Seerr is unreachable during the initial setup, credentials are persisted before the login attempt so subsequent app starts retry automatically until Seerr is back. QuickConnect logins clear any previously stored Jellyfin password to avoid using stale credentials.
5a5c0e1 to
67c684e
Compare
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.
Description
PR damontecres/jellyfin-plugin-wholphin#3 defines a new endpoint for Seerr configuration in plugin. This PR consumes this new endpoint (
/wholphin/seerrsettings) to setup Seerr on first Jellyfin login. The new plugin endpoint exposes:Jellyfin auth method supports
useCurrentUseroption, which stashes the in-memory Jellyfin password from password-based login and resuses it for automatic Seerr login.Methods without passwords (QuickConnect) are only pre-filling the Seerr dialog with URL and user name. A manual configuration by entering the password is needed.
If Seerr is unreachable during the initial setup, credentials are persisted to retry Seerr login automatically at the next start of the app (so long until Seerr is reachable again).
Related issues
Testing
Tested with following settings in plugin and Android TV emulator:
Screenshots
no changes, only that Seerr integration gets automatically configured
AI or LLM usage
This PR was developed in pair with Claude (Anthropic). I understand the code and can explain every change made in the PR. Manual end-to-end testing was performed by me on an Android TV emulator.