Repository navigation
Add CustomEndpoint home row - #1430
damontecres merged 9 commits into
Conversation
ac0b0da to
2ac263f
Compare
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
|
I have rebased and implemented your requested changes |
|
Hi, and thanks for working on this. I'm trying to use Home Screen Sections rows (Discover, Latest Movies, My Requests) in Wholphin via CustomEndpoint. Setup: Wholphin v1.0.8-32-g48628dbc (develop-server-plugin) on Android TV. Jellyfin 12.1. Wholphin plugin 0.1.0.0 installed from the repo manifest. Home Screen Sections 3.0.2.0. What works: the plugin saves my YAML with type: CustomEndpoint rows and returns it. "Load default from server" works with ContinueWatching and NextUp rows. What fails: with CustomEndpoint rows in the YAML, "Load default from server" shows: "Serializer for subclass 'CustomEndpoint' is not found in the polymorphic scope of 'p13'". So the app build doesn't seem to include this PR yet. Questions: Is there a test APK or build that includes this PR, or an estimate of when it will be merged into develop-server-plugin? |
I should merge it soon
It looks like @matschi95's fork intercepts the Wholphin plugin's home settings. So it's not required for this PR to work. It's a way to sort of merge the two plugins.
Wholphin doesn't explicitly support |
4be3c68
into
damontecres:develop/server-plugin

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.