jellyfin-vue icon indicating copy to clipboard operation
jellyfin-vue copied to clipboard

Album art in full screen view isn't loaded lazily

Open lunaneff opened this issue 2 years ago • 1 comments

Description of the bug

When playing music, the album art for everything in the full screen view is loaded at once. This slows down performance and it might make unnecessary requests, as you don't always play to the end of the queue.

Steps to reproduce

  1. Open network tab in browser devtools
  2. Fill your queue with a lot of tracks (for example, by shuffling the whole library)
  3. Open the full screen view
  4. See lots of requests in the devtools

Expected behavior

The images should be loaded lazily. I'd expect at most 5 images to be loaded at the same time, as that's how many are displayed in the full screen view.

Logs

No response

Screenshots

No response

Platform

Linux

Browser

Firefox

Jellyfin server version

10.7.7

Additional context

No response

lunaneff avatar Oct 05 '21 06:10 lunaneff

This can be accomplished as soon as we use Vue 3 with upstream's swiper

ferferga avatar Oct 19 '21 15:10 ferferga