Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entered server URL is not persisted #30

Closed
thornbill opened this issue Jan 29, 2019 · 2 comments
Closed

Entered server URL is not persisted #30

thornbill opened this issue Jan 29, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@thornbill
Copy link
Member

The client replaces the URL entered when connecting to a server with the URL returned by System Info API. This forces the user to reconnect for each new session.

Related jellyfin/jellyfin#601

@thornbill thornbill added the bug Something isn't working label Jan 29, 2019
@thornbill
Copy link
Member Author

Looks like this issue comes from the apiclient updating the ServerInfo after authenticating. In the logs I noticed the calls while authenticating use the correct url, but then changes to the wrong URL when getting capabilities.

See this method in the apiclient: https://github.com/jellyfin/jellyfin-apiclient-java/blob/master/android/src/main/java/mediabrowser/model/apiclient/ServerCredentials.java#L41

@thornbill
Copy link
Member Author

In my testing, this is fixed by #58.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants