Add CustomEndpoint home row#1430
Open
matschi95 wants to merge 4 commits into
Open
Conversation
ac0b0da to
2ac263f
Compare
damontecres
requested changes
May 31, 2026
Adds a new HomeRowConfig variant `CustomEndpoint` that resolves rows by GET-ing an arbitrary Jellyfin endpoint returning QueryResult<BaseItemDto>. Lets third-party plugins (e.g. jellyfin-plugin-home-sections) feed rows into Wholphin without Wholphin needing specific knowledge of them. - Resolves both relative and absolute endpoint URLs via HttpUrl.resolve() - Auto-injects current userId as query param (overridable per-config) - Headers/Query are List<KeyValueEntry> to match the server-side plugin's XML-serializable shape - Auth token added automatically via AuthOkHttpClient
2ac263f to
23b6570
Compare
Author
|
I have rebased and implemented your requested changes |
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
This PR adds support for the CustomEndpoint implemented in damontecres/jellyfin-plugin-wholphin#4. With this it is now possible to use sections provided by jellyfin-plugin-home-sections directly in the Wholphin client (fe.
My RequestorLatest Movies).Some endpoints need the userId for providing user-specific lists (fe.
My Requests). Therefore the userId will always be added when calling a custom endpoint, because we can only define static items in our YAML definition.Related issues
Testing
The feature was tested on an Android TV emulator.
For the final test I have also implemented Wholphin support in the Home-Section-Plugin on my branch develop/wholphin-plugin. With this change, I was able to push all sections provided by their plugin to our Wholphin client without writing one single line to our Wholphin Plugin Configuration YAML.
Screenshots
No changes
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.