jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
2.87k stars 297 forks source link

Cached data issues with changing servers #694

Open TheHYPO35 opened 3 weeks ago

TheHYPO35 commented 3 weeks ago

This may be related to a bug that has been present for a few versions - I'm not sure. That bug is that the software keeps a cached version of pages, and when you edit certain metadata or images, the cached data is not refreshed automatically or upon reloads of the page.

However, this has a specific issue when it comes to multiple servers. I currently use two servers. When I go to Menu (top left)>Select Server or [Username] (top right)>Select Server and connect to whichever server I'm not currently on, JMP returns to the "home" screen, but it is visually the home screen of the "old" server, not the one I just connected to. If I click on a library like "movies", if that page has not previously been cached, I will see the movies library of the correct (new) server. If I click the link for a library that doesn't exist on the new server, I will get an infinite 'loading' wheel - presumably because it can't find any data on the new server for that library.

Connecting to a new server should probably clear the cache and at very least prompt a refresh of the home page, not just a redirect to the home page.

I don't think logs or screenshots are going to be useful on this bug, but let me know and I can produce some if you want to see anything. The cause and effect of this bug seems fairly obvious.

Desktop (please complete the following information): Windows 10, JMP 1.11.1

gummykage commented 3 weeks ago

Having this exact problem. It doesn't seem to update new metadata images.

urbenlegend commented 2 weeks ago

I am having this problem as well with two servers running on the same machine. Each Jellyfin instance is running in its own Docker container and accessed via an Nginx proxy.

What's odd is that for one server, I can right click and hit Reload to get the correct Home screen, but for the other server, this trick does not work and it will keep showing me the Home screen of the first server.

This used to work fine with previous versions.

mrmelon54 commented 1 week ago

I am having the same issue on Linux Mint, makes it impossible to change between servers without exiting and relaunching the application Edit: exiting and restarting the application doesn't even help anymore, I'm constantly stuck looking at only one server.