j-a-n / lovelace-wallpanel

🖼️ Wall panel mode and photo screensaver for your Home Assistant Dashboards
GNU General Public License v3.0
486 stars 44 forks source link

Immich performance improvements #287

Closed Stonos closed 1 month ago

Stonos commented 1 month ago

This PR aims to improve the performance of the Immich integration in 2 ways:

  1. Improve the performance when loading an album that contains thousands of pictures (especially noticeable on an underpowered tablet)
  2. Load the preview resolution by default instead of the original resolution. This reduces bandwidth/memory/CPU usage. I think that the tradeoff is worth it, since the preview resolution is actually pretty decent (seems to target a side of 1440 pixels).
j-a-n commented 1 month ago

Nice, thank you!