1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add opensearch search plugin

This commit is contained in:
Kwonunn 2025-03-24 23:41:55 +01:00
parent a9ded390ed
commit 54c068dca0
2 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<link rel="manifest" href="manifest.json">
<link rel="search" type="application/opensearchdescription+xml" title="Jellyfin" href="opensearch.xml" />
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta http-equiv="X-UA-Compatibility" content="IE=Edge">

9
src/opensearch.xml Normal file
View file

@ -0,0 +1,9 @@
<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>