Replace hardcoded Jellyfin authentication DeviceId to include hostname and username (#312)
This commit is contained in:
parent
1a948ab86b
commit
ac7ec133db
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ const authenticate = async (
|
||||||
Username: body.username,
|
Username: body.username,
|
||||||
},
|
},
|
||||||
headers: {
|
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
|
packageJson.version
|
||||||
}"`,
|
}"`,
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue