Repository navigation
Auto-configure Discover from Wholphin server plugin - #2134
Conversation
|
Does the plugin act as a proxy for Seer requests with this PR, is it simply getting the Seerr settings, like URL? |
|
@alexkahler This might be of interest to you. damontecres/jellyfin-plugin-wholphin#7 This plugin is not currently proxying requests to Seerr. It is (currently) expected to configure seerr URL endpoints and credentials in the plugin YAML. The PR I made and linked adapts this but also uses a separate plugin to automate all of this process, and be user-specific (delegated-to-requested-user admin requests) and jellyfin-proxied. End result being turn key requestability by users. That being said, Wholphin plugin could (and if it wants to) could devour mine if it wants ownership of that proxy code. |
Description
damontecres/jellyfin-plugin-wholphin#3 added a new endpoint for Seerr configuration in Wholphin server plugin.
This PR adds support for reading that configuration and either pre-filling the URL or automatically logging in.
Some code was copied from #1418 (thanks @matschi95!), but that PR worked by inserting a DB record for the plugin provided server. Since the local DB was preferred, this meant plugin config changes wouldn't be reflected in the client. This PR instead attempts the connection and only updates the in-memory connection state, so user switching and app restarts will re-fetch from the plugin.
If the server plugin is not installed or no Seerr server is configured, nothing in Wholphin changes.
Related issues
#598
This PR replaces #1418
Testing
Emulator with different scenarios
Screenshots
N/A
AI or LLM usage
None