Developing TvServer plugins (1 Viewer)

joboehl

Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    read more about how to develop TvServer plugins in the wiki

    http://wiki.team-mediaportal.com/TV-Engine_0.3/tvserverplugins

    I saw the plugin support code in SVN today and could not beleive. Man, that was much sooner than I was expecting.

    I would be happy if this could happen before next year and now is already there. Amazing.

    Congratulations (again) frodo.

    BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?
     

    Frodo

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    52
    The Netherlands
    Home Country
    Netherlands Netherlands
    BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?
    Yes, that's mising right now, but its the next thing todo
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    BTW: Are you planning to implement some kind of messaging so plug-ins can react to the tvserver (like channel change)?
    Yes, that's mising right now, but its the next thing todo

    Man, amazing. Will get working on Myblaster right now.

    Congrats, once again.

    JUlio
     

    Frodo

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    52
    The Netherlands
    Home Country
    Netherlands Netherlands
    there is a new section in the wiki explaining how to subscribe to
    tvserver events

    Frodo
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Frodo, only saw your response now. Thanks a lot for this.

    Will propably have something working this weekend in regards of MCE Blasting.

    Julio
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Hi Frodo,

    I almost got the blasting working, but I whant to ask for you advice before I go on.

    In the EventArgs class that contains the information for the event, there is no channel number information in the IChannel object, besides the one inside the string returned by the ToString() method.

    I understand that the IChannel object for the AnalogCards do have that information, but I can't (at least don't know how) access this properties in the eventArg.

    Do you think parsing the textstring looking for the channel number is the way to go or the interfaces/properties are subject to change?

    Please keep in mind that I started coding for .Net not very long ago, so if I'am making some mistake, please let me know.

    Thanks for your help.

    Julio
     

    Frodo

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    52
    The Netherlands
    Home Country
    Netherlands Netherlands
    IChannel is an generic interface
    To see if its an analog channel try this:
    Code:
    AnalogChannel analogChannel=ichannelInterface as AnalogChannel;
    if (analogChannel==null) return;
    int channelNumber = analogChannel.ChannelNumber;
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Frodo,

    Thanks a lot for the help. I managed to port the myblaster plug-in and now I can put the tvserver with the stb in the basement if I want (not that I have one) :). I'll clean the code up and share later this week.

    wanna take the opportunity to tell that the structure of this new engine seems much better than the older one. From the controller design to the classes. Seems much more flexible. Good job.

    And altough i did encountered some problems in my initial testing (expected), the performance and quality of the streaming really impressed me. I was able to stream to 3 machines over wireless, that's almost impossible with MCE for example.

    Once again, congratulations.

    Julio
     

    Users who are viewing this thread

    Top Bottom