Skip to content

Show the server-provided name for plugin tuner types#8233

Closed
vk496 wants to merge 1 commit into
jellyfin:masterfrom
vk496:feature/tuner-host-type-name
Closed

Show the server-provided name for plugin tuner types#8233
vk496 wants to merge 1 commit into
jellyfin:masterfrom
vk496:feature/tuner-host-type-name

Conversation

@vk496

@vk496 vk496 commented Jul 17, 2026

Copy link
Copy Markdown

Changes

The tuner device card resolves its title from a hardcoded type list (getTunerName) and shows "Unknown" for any type not in it, including plugin-provided tuners. This uses the display name returned by the TunerHosts/Types endpoint via a small useTunerHostTypes hook, keeping getTunerName as a fallback while the query loads.

A plugin can register an ITunerHost; it shows up by name in the "Add Tuner Device" dropdown, but once added the device card reads "Unknown". This makes the card match the dropdown.

Motivating case: https://github.com/vk496/jellyfin-htsp-tuner

Issues

Part of jellyfin/jellyfin#17372. The guide provider list has the same limitation but needs a new API, proposed in jellyfin/jellyfin#17371.

Code assistance


  • I have read and followed the contributing guidelines.
  • I have tested these changes.
  • I have verified that this is not duplicating changes in an existing PR.
  • I have provided a substantive review of another web PR.

The tuner device card resolves its title from a hardcoded type list and shows
Unknown for any type not in it, including plugin-provided tuners. Use the name
returned by the TunerHosts/Types endpoint, keeping the static list as a fallback.
@vk496
vk496 requested a review from a team as a code owner July 17, 2026 17:56
@sonarqubecloud

Copy link
Copy Markdown

@viown

viown commented Jul 17, 2026

Copy link
Copy Markdown
Member

Please follow the pull request template.

@viown viown closed this Jul 17, 2026
@viown viown added the invalid Doesn't seem right or does not follow the templates label Jul 17, 2026
@vk496

vk496 commented Jul 17, 2026

Copy link
Copy Markdown
Author

Reopened as #8235 following the pull request template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Doesn't seem right or does not follow the templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants