-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
There is a missing " on this line:
client.authenticate({"Servers": [{"AccessToken: <API key here>, "address": <Server Address>}]}, discover=False)
It should be:
client.authenticate({"Servers": [{"AccessToken": <API key here>, "address": <Server Address>}]}, discover=False)
Although after adding that, there is now an error about missing key DateLastAccessed
.
Traceback (most recent call last):
File "/home/sjorge/anilist-jf-sync/./sync.py", line 29, in <module>
jas = JellyfinAnilistSync(
File "/home/sjorge/anilist-jf-sync/./sync.py", line 25, in __init__
self.client.authenticate({"Servers": [{"AccessToken": api, "address": url}]}, discover=False)
File "/home/sjorge/anilist-jf-sync/venv/lib/python3.10/site-packages/jellyfin_apiclient_python/client.py", line 55, in authenticate
state = self.auth.connect(options or {}, discover)
File "/home/sjorge/anilist-jf-sync/venv/lib/python3.10/site-packages/jellyfin_apiclient_python/connection_manager.py", line 197, in connect
servers = self.get_available_servers(discover)
File "/home/sjorge/anilist-jf-sync/venv/lib/python3.10/site-packages/jellyfin_apiclient_python/connection_manager.py", line 88, in get_available_servers
servers.sort(key=itemgetter('DateLastAccessed'), reverse=True)
KeyError: 'DateLastAccessed'
xenago, 3isenHeiM and theggs
Metadata
Metadata
Assignees
Labels
No labels