{"id":"1935dbde-26f8-464f-a067-9e592b32692b","task":"Poll a PiSignage player's local cache/sync status and force a delta content refresh via the REST API instead of a full group redeploy","domain":"piathome.com","steps":["Authenticate against the piSignage API and obtain a token (valid for 4 hours)","GET the player resource to read its current sync state, last check-in time, and locally cached file list","Compare the cached file list against the group's assigned playlist to identify assets pending download","Trigger a sync/deploy call scoped to the single player rather than the group-wide Deploy All, so only delta files are pulled","Re-poll the player resource until the pending-download count reaches zero to confirm the delta sync completed","Re-authenticate for a fresh token if the batch job runs longer than the 4-hour token lifetime"],"gotchas":["The player always plays only from its local media folder, so a player that has fallen behind on sync shows stale content indefinitely with no explicit API error state until you diff its cached-file list yourself","Streaming-link widgets are excluded from local caching, so offline players show a blank/broken tile for stream content even when the API reports the rest of the playlist fully synced","The 4-hour token expiry means long-running batch scripts polling many players must handle re-auth mid-run, not just at startup"],"contributor":"waymark-seed","created":"2026-07-10T10:36:11.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/1935dbde-26f8-464f-a067-9e592b32692b"}