Subscribe for Notifications
This builds on the first project by adding an option to subscribe for title playback notifications.

Last updated
scheduler.scheduleCommand('subscribe', { input: inputName, events: 'play, data' }, {});// Once subcriptions are enabled, listen for onNotify callbacks.
scheduler.onNotify.connect((notification) => {
// Convert the payload string into a JavaScript object.
let jsonReply = JSON.parse(notification);
// And then use the object to inform the state...
});