Skip to content

Instantly share code, notes, and snippets.

@couchoud
Created September 17, 2010 12:54
Show Gist options
  • Save couchoud/584183 to your computer and use it in GitHub Desktop.
Save couchoud/584183 to your computer and use it in GitHub Desktop.
// recording and series list updates
var device = RemoteScheduling.user.getSelectedDevice();
RemoteScheduling.bindTo(device, RemoteScheduling.Device.events.RECORDINGS_LIST_UPDATED, YOUR_CALLBACK_FUNCTION);
RemoteScheduling.bindTo(device, RemoteScheduling.Device.events.SERIES_LIST_UPDATED, YOUR_CALLBACK_FUNCTION);
// NOTE - anytime the series list is updated we do a refresh on the recordings list as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment