feat: add a separate watch thumbnail gallery and logical device
Community checks / verify (push) Skipped
Verify Frame Flow / verify (push) Failing after 6m12s

This commit is contained in:
渡口浪人
2026-10-23 15:00:29 +08:00
parent 7178235022
commit 081d8b6ee0
12 changed files with 552 additions and 21 deletions
@@ -54,6 +54,9 @@ def publish(service, device_id, asset_id, data=None, plan_id=None):
if service.photo_sources.get(source["source_id"]).kind == "synology-photos"
else "source",
}
from pigway_frame_flow.display.thumbnail_gallery import record
record(service, asset["asset_id"], {**result, "source_frame_id": device_id})
service.db.execute(
"INSERT OR REPLACE INTO app_config VALUES(?,?)",
("wrist-thumbnail:" + device_id, encode(result)),