uarlive
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2012
11:53 AM
Capturing Actionable User Events in a Channel
Is there a way to collect events from a channel? For example, how many times a file was clicked or length of a play for a video?
Thanks
Thanks
4 REPLIES 4

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2012
12:00 PM
Re: Capturing Actionable User Events in a Channel
If I understand what you're asking, why can't you collect that information in your code? You know when a video is launched, and you can monitor the notification period events during playback to determine how long it's played.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
uarlive
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2012
12:10 PM
Re: Capturing Actionable User Events in a Channel
That is what i am looking to do and send that information to a remote server for logging.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2012
12:23 PM
Re: Capturing Actionable User Events in a Channel
Without seeing your code, it's hard to give exact details, but you should be able to capture a launch from the selection of the "Play" button on your springboard (or from the poster screen, if you're not using a springboard), at which point you could send an asynchronous web request (or synchronous, if you're not concerned about the delay it might cause) to your server to capture the data. Then, on your video screen, be sure to call SetNotificationPeriod(), and you can use the notification event to send additional web requests to your server to record playback time.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
uarlive
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2012
12:58 PM
Re: Capturing Actionable User Events in a Channel
Thank you Endless. I appreciate you pointing me in the right direction.