feat: add a separate watch thumbnail gallery and logical device
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user