IR Server Suite - Public Test Version (1 Viewer)

Status
Not open for further replies.

dominique

Portal Pro
May 17, 2007
55
1
sdfsdfsdf
Home Country
Cameroon Cameroon
Two questions I hope someone can help me with. First is, when changing channels, not all channel changes are correctly blasted to the settopbox. Some channels work, some don't. E.g. channel #22 is properly transmitted. But I can't get to channel #243, it just blasts '2' and that's it. What can I try here?

I'm using: Mediaportal SVN 30-12, TVserver, IR Server Suite, MCE remote & blaster.

Question 2 is: my videos and music are located on shares on a different pc. To access the shares I can wake the pc using WakeOnLan. After idling for 10 minutes, the server goes to standby. Is there a way to start the batchfile for WOL when I'm entering My Videos or My Music in Mediaportal? I was thinking perhaps an Event in IR Server Suite is possible, but I don't know which one is appropriate.


:D :D :D Thank you again. This is right answar.. :)
 

StaticMan

Portal Pro
May 14, 2007
118
0
Home Country
Canada Canada
Two questions I hope someone can help me with. First is, when changing channels, not all channel changes are correctly blasted to the settopbox. Some channels work, some don't. E.g. channel #22 is properly transmitted. But I can't get to channel #243, it just blasts '2' and that's it. What can I try here?

I'm using: Mediaportal SVN 30-12, TVserver, IR Server Suite, MCE remote & blaster.

Question 2 is: my videos and music are located on shares on a different pc. To access the shares I can wake the pc using WakeOnLan. After idling for 10 minutes, the server goes to standby. Is there a way to start the batchfile for WOL when I'm entering My Videos or My Music in Mediaportal? I was thinking perhaps an Event in IR Server Suite is possible, but I don't know which one is appropriate.

Not knowing your setup, the first thing I'd check is that all codes work properly - That 2, 4 and 3 are correct.
After that try increasing the delay between sends. I believe the default is 300ms. I actually had to increase mine to 1000ms before it would consistently work.
 

ykamchi

Member
June 23, 2006
41
6
52
and-81,

As to what I remember, the tv server channels configuration there is no way to set the external channel number.

And, also the ExternalChannel field in the channels table (database) already ocupied by the external channel name that xmlTV grab from tvguide.xml. So the question is, are you using the ExternalChannel to store the channel number on the settop-box

Thx,
Yohay
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    The channel number is passed in an event from the TV Server.

    It's the analog channel number specified in the channel setup.

    Does that answer your question?
     

    ykamchi

    Member
    June 23, 2006
    41
    6
    52
    Please tell me where (class + ~line) MP sends the message?

    Where in your code you are handling this message ?


    (Thanks for support).
     

    sbp

    Portal Pro
    August 10, 2006
    192
    1
    Auning
    Home Country
    Denmark Denmark
    To Yakamchi

    Thank you for your interest in making the Hauppauge PVR150 card working with the IR-Server Suite.

    I agree with you that somewhere in the database there needs to be information on both the internal channel number (ie the channel our PVR150 card needs to use) and an external number (the number that needs to be blasted to the settop box)

    In the TV2-version I made the following change to the TV-database:
    https://forum.team-mediaportal.com/irblaster_and_mix_sat_channels_and_fta-t9925.html?t=9925
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Well, assuming we're still talking about the TV Server ...

    In TV Server the message is generated in one of two places ...

    TVController.cs - Line 1009 and Line 2243
    Fire(this, new TvServerEventArgs(TvServerEventType.StartZapChannel, GetVirtualCard(user), user, channel));

    In TV3 Blaster plugin the message is handled here:

    TV3BlasterPlugin.cs - Line 347 - void events_OnTvServerEvent(object sender, EventArgs eventArgs)

    The eventArgs parameter is cast as a TvServerEventArgs object.

    If TvServerEventArgs.channel is of the type AnalogChannel then the channel number is taken (AnalogChannel.ChannelNumber) and used to blast the digits to the STB.

    Hope that helps you...
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    ok, so I've had a look at your code and now that I understand how the PVR150 blaster works (unless I'm mistaken) I don't think I can support it as a generic IR blaster...

    Again, unless I'm mistaken, the blaster feature is given a channel number and it utilizes the ir blaster to tune that channel based on the configuration on PVR software?

    So basically, I can't just send it a time diagram or Pronto code and have it blast that ... I can only send it a channel number to tune...

    It looks like I will be able to support the PVR 150 as a receiver of button presses, but not as a blaster.

    However, there is an easy solution ... either adapt Yakamchi's code into a stand-alone exe and call it from the TV3/TV2 Blaster Plugin in the "Select command" entry in external channel setup. Or use this one that a nice chap called Richard Gate has already made:

    http://www.disco-nt.co.uk/download/

    I could turn Yakamchi's code into an exe and include it with the IR Server Suite so it's readily available in case that site is unavailable in the future, if Yakamchi's okay with that?

    The blaster code will be able to be added to MediaPortal after the 1.0.0.0 release. In the meantime a simple plugin could be added for TV2 and TV3 ... I figure you're already working on a TV3 one Yakamchi?

    Cheers,
     

    sbp

    Portal Pro
    August 10, 2006
    192
    1
    Auning
    Home Country
    Denmark Denmark
    Again, unless I'm mistaken, the blaster feature is given a channel number and it utilizes the ir blaster to tune that channel based on the configuration on PVR software?

    So basically, I can't just send it a time diagram or Pronto code and have it blast that ... I can only send it a channel number to tune...,

    I know that GBPVR and GALLM all use the IR-blaster that way. You have to use the configuration tool that comes with the blaster to choose from a drop down menu the right settop-box, and fine tune the blasting, by changing the interdigit delay, the tuning delay, the number of digits send ect. When you hav done that, you save the changes and close the configuration tool.
    Then the PVR-program (GALLM and GBPVR and also Mediaportal TV2 engine) sends the digits to the settop-box. The numbers are defined in the TV-database.

    It looks like I will be able to support the PVR 150 as a receiver of button presses, but not as a blaster.,

    Too bad

    However, there is an easy solution ... either adapt Yakamchi's code into a stand-alone exe and call it from the TV3/TV2 Blaster Plugin in the "Select command" entry in external channel setup. Or use this one that a nice chap called Richard Gate has already made:

    http://www.disco-nt.co.uk/download/

    I could turn Yakamchi's code into an exe and include it with the IR Server Suite so it's readily available in case that site is unavailable in the future, if Yakamchi's okay with that?

    The blaster code will be able to be added to MediaPortal after the 1.0.0.0 release. In the meantime a simple plugin could be added for TV2 and TV3 ... I figure you're already working on a TV3 one Yakamchi?

    Cheers,

    For me this would be fine.
    I whish that you could let us choose some extra parameters though.
    1. I need to be able to delay the sending of the digits from mediaportal to the settop-box a little. If it is send while mediaportal is preparing to record, the settop-box often recieves the wrong number.

    2. I would like Mediaportal to send the channel two or three times with some seconds between - again in order increase the chance of the settop-box changes to the corect number.

    Would that be possible with your suggestions on the "easy solution" - I hope you can find a way.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom