Jellyfin: Remove headers append

pull/114/head
Luigi311 2023-11-13 01:59:18 -07:00
parent 9ff3bdf302
commit 89a2768fc9
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ class Jellyfin:
return await self.query(query, query_type, session, identifiers)
results = None
headers = {"Accept": "application/json", "X-Emby-Token": self.token}
authorization = (
"MediaBrowser , "
'Client="other", '
@ -108,7 +108,7 @@ class Jellyfin:
'DeviceId="script", '
'Version="0.0.0"'
)
headers["X-Emby-Authorization"] = authorization
headers = {"Accept": "application/json", "X-Emby-Token": self.token, "X-Emby-Authorization": authorization}
if query_type == "get":
async with session.get(