Skip to main content

Notifications

Notifications are sent from the server to connected clients to inform them of events.

Launching

(No specific notifications documented yet)

Readers

readers.added

A new reader was connected to the server.

readers.removed

A connected reader was disconnected from the server.

Tokens

tokens.added

(No specific notifications documented yet)

tokens.removed

(No specific notifications documented yet)

Media

media.started

New media was started on server.

Response

KeyTypeRequiredDescription
systemIdstringYesInternal ID of system associated with media.
systemNamestringYesDisplay name of system.
mediaNamestringYesDisplay name of media.
mediaPathstringYesPath to media file on server.

media.stopped

Media has stopped on server.

Response

Returns null.

media.indexing

The state of the indexing process has changed.

This payload will have significant changes before release.

Response

KeyTypeRequiredDescription
indexingbooleanYesTrue if an index is in progress.
totalStepsnumberYesTotal number of "steps" (systems plus database preparation) in index process.
currentStepnumberYesCurrent step in index.
currentDescstringYesLabel of current step (in English).
totalFilesnumberYesTotal files indexed so far.