Need help adding OpenSearch plugin #6865

Closed
opened 2026-02-07 04:13:02 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Kwonunn on GitHub (Mar 31, 2025).

Hi, I'm trying to add an OpenSearch plugin to the Jellyfin web frontend so you can easily search for content from the address bar. This feature relies on the webserver sending an XML file with some metadata about how the search engine works. Since this info is dependent on the URL of the Jellyfin instance, i was directed here to add this. I have no idea where to start to add something like this, so i was hoping to get some pointers.

In short, there needs to be some URL that i can point a link tag towards which returns the following XML content:

<OpenSearchDescription
  xmlns="http://a9.com/-/spec/opensearch/1.1/"
  xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  <ShortName>Jellyfin</ShortName>
  <Description>Jellyfin Media Server</Description>
  <InputEncoding>UTF-8</InputEncoding>
  <Image width="256" height="256" type="image/x-icon">favicon.png</Image>
  <Url type="text/html" template="http://localhost:8080/#/search?query={searchTerms}" />
</OpenSearchDescription>

This example uses http://localhost:8080, but this would need to be replaced with the actual URL of the instance. I'm not sure how to add this.

Any help would be appreciated ^-^

Originally created by @Kwonunn on GitHub (Mar 31, 2025). Hi, I'm trying to add an [OpenSearch plugin](https://developer.mozilla.org/en-US/docs/Web/XML/Guides/OpenSearch) to the Jellyfin web frontend so you can easily search for content from the address bar. This feature relies on the webserver sending an XML file with some metadata about how the search engine works. Since this info is dependent on the URL of the Jellyfin instance, i was directed here to add this. I have no idea where to start to add something like this, so i was hoping to get some pointers. In short, there needs to be some URL that i can point a link tag towards which returns the following XML content: ```xml <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <ShortName>Jellyfin</ShortName> <Description>Jellyfin Media Server</Description> <InputEncoding>UTF-8</InputEncoding> <Image width="256" height="256" type="image/x-icon">favicon.png</Image> <Url type="text/html" template="http://localhost:8080/#/search?query={searchTerms}" /> </OpenSearchDescription> ``` This example uses `http://localhost:8080`, but this would need to be replaced with the actual URL of the instance. I'm not sure how to add this. Any help would be appreciated ^-^
Author
Owner

@Kwonunn commented on GitHub (Mar 31, 2025):

My existing PR on jellyfin-web

@Kwonunn commented on GitHub (Mar 31, 2025): [My existing PR on jellyfin-web](https://github.com/jellyfin/jellyfin-web/pull/6656)
Author
Owner

@felix920506 commented on GitHub (Mar 31, 2025):

The best place to ask would be on our Matrix / Discord development channel.
https://jellyfin.org/contact

@felix920506 commented on GitHub (Mar 31, 2025): The best place to ask would be on our Matrix / Discord development channel. https://jellyfin.org/contact
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6865