Skip to content

Add CustomEndpoint home row - #1430

Merged
damontecres merged 9 commits into
damontecres:develop/server-pluginfrom
matschi95:develop/server-plugin-custom-endpoint
Oct 12, 2026
Merged

damontecres merged 9 commits into
damontecres:develop/server-pluginfrom
matschi95:develop/server-plugin-custom-endpoint

Conversation

@matschi95

Copy link
Copy Markdown
Contributor

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 Request or Latest 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.

@matschi95
matschi95 force-pushed the develop/server-plugin-custom-endpoint branch from ac0b0da to 2ac263f Compare May 23, 2026 19:46
matschi95 added 3 commits June 1, 2026 18:41
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
@matschi95
matschi95 force-pushed the develop/server-plugin-custom-endpoint branch from 2ac263f to 23b6570 Compare June 1, 2026 16:42
@matschi95

Copy link
Copy Markdown
Contributor Author

I have rebased and implemented your requested changes

@matschi95
matschi95 requested a review from damontecres June 10, 2026 17:05
@cnolan99

cnolan99 commented Oct 4, 2026

Copy link
Copy Markdown

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?
Does it work with the stock Home Screen Sections plugin, or does it need your modified branch (develop/wholphin-plugin)?
The Home Screen Sections Discover endpoints return items with an all-zero Id, Type: AggregateFolder, and the Seerr data in ProviderIds. Is Wholphin meant to display those, or only rows with real library items (like Latest Movies)?

Happy to test a build and report back.
30f46296-4245-43cb-a5ca-d0acd13ed35c

@damontecres

Copy link
Copy Markdown
Owner

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

Does it work with the stock Home Screen Sections plugin, or does it need your modified branch (develop/wholphin-plugin)?

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.

The Home Screen Sections Discover endpoints return items with an all-zero Id, Type: AggregateFolder, and the Seerr data in ProviderIds. Is Wholphin meant to display those, or only rows with real library items (like Latest Movies)?

Wholphin doesn't explicitly support AggregateFolder, so I'm not sure what it would look like on the home page and I think clicking on one will just return an error. You can check out the built-in Seerr support in Wholphin though.

@damontecres
damontecres merged commit 4be3c68 into damontecres:develop/server-plugin Oct 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants