Action: Add test
Spins up jellyfin and plex containers to test against
This commit is contained in:
@@ -100,7 +100,7 @@ class Jellyfin:
|
||||
return await self.query(query, query_type, session, identifiers)
|
||||
|
||||
results = None
|
||||
|
||||
|
||||
authorization = (
|
||||
"MediaBrowser , "
|
||||
'Client="other", '
|
||||
@@ -108,8 +108,12 @@ class Jellyfin:
|
||||
'DeviceId="script", '
|
||||
'Version="0.0.0"'
|
||||
)
|
||||
headers = {"Accept": "application/json", "X-Emby-Token": self.token, "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(
|
||||
self.baseurl + query, headers=headers
|
||||
|
||||
Reference in New Issue
Block a user