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

Refresh Server Info #1402

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Refresh Server Info #1402

merged 3 commits into from
Jan 23, 2025

Conversation

chickdan
Copy link
Contributor

Working to resolve #1389, looking through where server information is set this is the partial solution I came up with. It's not ideal as the user won't see the name change until after relaunching the app so pointers on where to put this would be appreciated!

There is also a TODO in ServerCheckViewModel that says "Also server stuff", what needs to be done to resolve the todo? I can fill it out since I'm already touching that file.

Copy link
Member

@LePips LePips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems okay for now. I've only pushed a small workaround to reset the UserSession which will make future view models use the updated information so we don't need to wait for the next restart.

But UserSession needs more architectural consideration so that it can update its own values and the UI picks up on it.

@chickdan chickdan marked this pull request as ready for review January 22, 2025 02:31
@chickdan chickdan changed the title [WIP] Refresh Server Info Refresh Server Info Jan 22, 2025
@LePips LePips merged commit b4c07bd into jellyfin:main Jan 23, 2025
6 checks passed
@chickdan chickdan deleted the refresh_server_info branch January 23, 2025 02:29
@JPKribs JPKribs added the bug Something isn't working label Jan 28, 2025
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

Successfully merging this pull request may close these issues.

Server name change not picked up (Tv, iPad)
3 participants