March 10th, 2009, 07:19 PM
The MBPlayback.Play() method seems like it would just be for telling the player to play whatever is already loaded (perhaps to restart playback after pausing). What is the method for telling the player to play a specific file and how is it called from NetRemote?
March 11th, 2009, 07:17 AM
That would be the IMBZone method PlayFile which is called by sending the command
X PLAYFILE filename
March 11th, 2009, 03:11 PM
Originally Posted by Rob H
It seems using the default skin and my testing method it was actually calling MBZone.PlayLibrary(). That said, I've now got to the point where I can successfully select a file from the library, click play, and SageTV fires up the video (which is awesome).
A couple more questions if you don't mind...
First, I re-downloaded the MediaBridge SDK from the developer section since you mentioned some updates but I didn't see any changes (ie. no "I" in front of the interfaces). Is there somewhere else I should be getting the SDK?
Second, I'm not very clear on the distinction between MBZone.PlayFile() and MBZone.PlayLibrary(). Also, I'm not totally clear on how a zone should handle playlists and the PlayMode parameter passed to the aforementioned methods.
I think a more fully implemented plug-in example would help clear up a lot of the issues I'm running into. Any chance of getting a hold of something along those lines?
Thanks again for you help.
Last edited by iolaus; March 11th, 2009 at 03:15 PM.
March 11th, 2009, 04:25 PM
Looks like we need to update the SDK.
I'll have a chat with Ron soon about a better example plugin