diff --git a/server/README.md b/server/README.md index 2fef658..43d75b0 100644 --- a/server/README.md +++ b/server/README.md @@ -64,11 +64,12 @@ algorithm itself -- it just streams the response straight to the panel. mount. Immich URL/API key are too if set via the web UI, but `IMMICH_URL`/`IMMICH_API_KEY` env vars (see Setup above) always take precedence when present. -- The upcoming queue is a bounded lookahead (10 photos), not the whole - album -- it's topped up automatically as photos are consumed - (`app/photo_queue.py`), in sequential or shuffle order per the Order - setting. Reordering only rearranges those 10; it doesn't add or remove - photos from the album. +- The upcoming queue is a bounded lookahead (`QUEUE_TARGET_LEN` in + `app/photo_queue.py`, currently 24 photos), not the whole album -- it's + topped up automatically as photos are consumed, in sequential or + shuffle order per the Order setting. Dragging photos in the web UI (or + using "Show next") only rearranges what's already in that lookahead; + it doesn't add or remove photos from the album. - `/frame/image` and `/frame/advance` aren't authenticated yet. That's fine on a trusted home LAN for now, but worth revisiting once the ESP32 side is wired up to send a shared device token. diff --git a/server/app/photo_queue.py b/server/app/photo_queue.py index 172e56d..5144b31 100644 --- a/server/app/photo_queue.py +++ b/server/app/photo_queue.py @@ -20,7 +20,7 @@ import time from .config import FrameConfig -QUEUE_TARGET_LEN = 10 +QUEUE_TARGET_LEN = 24 def _top_up(cfg: FrameConfig, assets: list[dict]) -> None: diff --git a/server/app/templates/index.html b/server/app/templates/index.html index e74bc3f..35498f7 100644 --- a/server/app/templates/index.html +++ b/server/app/templates/index.html @@ -5,7 +5,8 @@
Point your frame's "Tools Server" field at this server's host:port.
{{ cfg.immich_url }} (API key configured). Set via
- IMMICH_URL/IMMICH_API_KEY in docker-compose.yml -- see
- docker-compose.yml.example.IMMICH_URL and
- IMMICH_API_KEY in docker-compose.yml (copy
- docker-compose.yml.example) and restart the server.{{ cfg.immich_url }} (API key configured). Set via
+ IMMICH_URL/IMMICH_API_KEY in docker-compose.yml -- see
+ docker-compose.yml.example.IMMICH_URL and
+ IMMICH_API_KEY in docker-compose.yml (copy
+ docker-compose.yml.example) and restart the server.Loading...
Loading...
Drag a photo to reorder, or use "Show next" to jump it to the front.
+