boxee :: forums  

Go Back   boxee :: forums > boxee developers > boxee applications

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old June 11th, 2009, 01:56 AM
abossy abossy is offline
Junior Member
Join Date: Jun 2009
Posts: 4
Default How do I register a callback?

I'm writing an application in Boxee in which I'd like to play a new video after the current one finished. It looks like I can access the "EVENT_ENDED" player event as follows:

mc.GetPlayer().GetLastPlayerEvent() == EVENT_ENDED

...yet, this code can only be executed in the context of a UI event, like "onclick."

Is there any way to run a daemon thread to check for the occurrence of these event? Pandora does it, yet I've pored over the app's source code, and I'm baffled as to how it's done.
Reply With Quote


autoplay, callbacks, events, pandora, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 06:34 AM.

skin based on greenzero from

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2011, vBulletin Solutions, Inc.