← The Naistro work02 / NAISTRO · CONTRIBUTION

Finding scheduled events with no playback evidence.

Help operators notice when playback needs attention.

Where this work fits

The schedule said what should play. Reporting needed to know what did play, including when a device lost its connection or a prayer interrupted a track. Sending each record immediately was not always possible.

MY CONTRIBUTION

I built monitoring that compared expected playback with device records. It had to account for delayed evidence and interruptions before identifying a missed event. Reusing device lookups within a monitoring run also avoided repeating the same query for each check.

THE IDEA, ILLUSTRATED

Notice when expected activity never arrives

EXPECTED VS OBSERVED · PRAYER MONITORING
Expected
Prayer window
Observed
Playback event
DEVICE CHECK

Playback evidence found.

The observed event falls inside the configured window.

Expected schedule and observed device events are reconciled in a separate monitoring workflow.
THE ENGINEERING DECISION

Keep the record until delivery succeeds.

Removing a record when sending started could lose it on failure. I retained unsent records on the device and removed the sent batch after success. Monitoring had a related timing problem: it needed to allow for delayed evidence before treating an expected event as missing.

The skills behind the work

Scheduled jobs
Run time-based work without waiting for a person to open the application.
SQL
Query and update relational data, with clear rules about which records a result represents.
Monitoring
Compare observed activity with expectations and surface conditions that need attention.
THE WIDER RESULT

Unsent playback records could survive a restart and travel when connectivity returned. Monitoring made missed activity easier to investigate, with alert outcomes recorded separately from the detection itself.

READ THIS IN CONTEXTI kept playback records from disappearing with the connection. →
Related contributionsPlayback records that survive offline periodsI tracked actual playing time, excluding pauses and interruptions, and retained unsent records in a file-backed queue. A restart could reload that queue. Successful delivery removed the sent batch, while a failed send left it available for another attempt.Operational alerts with recorded send outcomesI connected missed-event monitoring to email alerts and recorded the send result. Failures and missing recipients remained visible rather than being marked as sent. The message carried enough context for an operator to begin investigating.A searchable report of the active catalogueI built reporting that connected active tracks with their station and catalogue information. Scheduled preparation kept the report available for filtered, paginated queries and export without rebuilding the entire view for every request.Connect playback to advertising evidenceI integrated advertising-related services across content delivery, playback events, and reporting. The work required handling the different contracts for those responsibilities rather than treating the provider integration as a single API call.