jellyfin / jellyfin-media-player

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

Media list and info not updating until the client is restarted #718

Open phoenixflare opened 6 days ago

phoenixflare commented 6 days ago

Describe the bug Media list as well as played list is not being refreshed until the client is closed and reopened. In version 1.9, I can get the list to refresh by going to "Home" and selecting the media category again.

To Reproduce Steps to reproduce the behavior:

  1. Open client and select a category (In this case: Movies)
  2. Sort the items by Date Added Descending
  3. Note the latest Movie (MA) added and leave the client open
  4. Add a new movie (MB) to the folder and refresh the metadata for "Movies" using the web client (using firefox here)
  5. Confirm the new movie is added to the "Movies" category on the web client
  6. Go back to the client app and note that MA is still shown as the latest movie
  7. Go to Home and then select the Movies category again.
  8. Note that MA is still shown as the latest movie instead of MB
  9. Close the client and reopen
  10. Go to Movies and note that MB is now the latest.

Note: This is the same for watched items and Date Played list. The list will not update until the client is restarted.

Expected behavior The media list to refresh when a category is selected. Optionally a "refresh" button can be added to refresh the list instead.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.