Enhancement: support jellyfin 10.12 breaking API changes

This commit is contained in:
shamoon
2025-12-23 12:06:12 -08:00
parent be7a00d631
commit 9ae682a9c0
9 changed files with 70 additions and 8 deletions

View File

@@ -556,6 +556,7 @@ export function cleanServiceGroups(groups) {
"beszel",
"glances",
"immich",
"jellyfin",
"komga",
"mealie",
"pfsense",

View File

@@ -123,6 +123,8 @@ export default async function credentialedProxyHandler(req, res, map) {
// v1 does not require a key
headers.Authorization = `Bearer ${widget.key}`;
}
} else if (widget.type === "jellyfin") {
headers["Authorization"] = `MediaBrowser Token=${widget.key}`;
} else {
headers["X-API-Key"] = `${widget.key}`;
}