Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: CreateInstance

  1. #11
    Join Date
    Jul 2003
    Posts
    21

    Default

    Rob,

    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?

  2. #12
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    That would be the IMBZone method PlayFile which is called by sending the command

    Code:
    X PLAYFILE filename
    from NetRemote
    --Rob

  3. #13
    Join Date
    Jul 2003
    Posts
    21

    Default

    Quote Originally Posted by Rob H View Post
    That would be the IMBZone method PlayFile which is called by sending the command

    Code:
    X PLAYFILE filename
    from NetRemote
    Thanks Rob,

    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.

  4. #14
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Looks like we need to update the SDK.

    I'll have a chat with Ron soon about a better example plugin
    --Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •