From 763d2132d9ea1f8ea3c8a0103ebd0fe8215917f5 Mon Sep 17 00:00:00 2001 From: Lily Rose Date: Wed, 18 Oct 2023 00:12:38 +1100 Subject: [PATCH] Replace hardcoded Jellyfin authentication DeviceId to include hostname and username --- src/renderer/api/jellyfin/jellyfin-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/jellyfin/jellyfin-controller.ts b/src/renderer/api/jellyfin/jellyfin-controller.ts index 95ec68258..472f1ee72 100644 --- a/src/renderer/api/jellyfin/jellyfin-controller.ts +++ b/src/renderer/api/jellyfin/jellyfin-controller.ts @@ -100,7 +100,7 @@ const authenticate = async ( Username: body.username, }, headers: { - 'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin", Version="${ + 'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin-${getHostname()}-${body.username}", Version="${ packageJson.version }"`, },