You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the authentication does not seem to work as noted. I can run the initial portion where you connect with a username/password, and I receive data that can be encoded to JSON.
jellyfin_apiclient_python\connection_manager.py", line 88, in get_available_servers
servers.sort(key=itemgetter('DateLastAccessed'), reverse=True)
TypeError: string indices must be integers, not 'str'
Presumably one is meant to decode the data into a new object and pass that to the authenticate() method. However
I see the docs already include app configuration there -- that bit is not optional, and you need to do it every time. I've pushed up a PR to fix the missing curly bracket.
The line in the README is not correct, as it contains no closing curly bracket
This should likely be
However, the authentication does not seem to work as noted. I can run the initial portion where you connect with a username/password, and I receive data that can be encoded to JSON.
This portion
fails with this error
Presumably one is meant to decode the data into a new object and pass that to the
authenticate()
method. Howeverresults in the following
I have looked at the resulting JSON and there are no keys that might correspond to
app.name
.The text was updated successfully, but these errors were encountered: