IR Server Suite - Version 1.4.2 Test Build 3158/3281 (3 Viewers)

Status
Not open for further replies.

Terriff

Portal Pro
March 28, 2008
75
3
It Works!!!!!! Thank You! Thank You! Thank You!

I found one bug in that I can't set new button mapping windows or actions. I try to add a new button mapping for "TVGuide" with an action of "TVGuide Reset", but the mapping "window" option always stays on "Home".

Thanks!
 

Airw0lf

Portal Pro
April 19, 2008
77
3
Home Country
New Zealand New Zealand
Hi,

I am trying to get IR Server to work with my WinLIRC remote. It works fine with WinLIRC on its own, but has trouble with IR Server.

In the Input Service Config I have set WinLIRC to "receive" and "transmit".

Now, with WinLIRC running, I open Debug Client and click Connect (server localhost) - It successfully connects and says WinLIRC. But now if I push any buttons on my remote, the client status window won't say anything. My WinLIRC tray icon blinks - so the remote is working and WinLIRC is working.

If I click "Learn IR" it says "IR Server is not setup to support learning." What does this mean?
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    dareh:

    The PDB and XML file with the dll go in the same folder... these files are not needed but with the pdb it will give more detailed error messages if something goes wrong.

    Terriff:

    Try pressing enter after you select the new mapping. It's a slight difference between the default input mapper and the modified one I'm using.

    Airw0lf:

    Hmm, maybe I've broken something ... I'll do some testing here and see what I can figure out.

    You can't "learn" ir blasting commands through the Input Service if you're using WinLirc, you'll need to do that however winlirc does it.

    I'll get back to you soon,
     

    Airw0lf

    Portal Pro
    April 19, 2008
    77
    3
    Home Country
    New Zealand New Zealand
    Airw0lf:

    Hmm, maybe I've broken something ... I'll do some testing here and see what I can figure out.

    You can't "learn" ir blasting commands through the Input Service if you're using WinLirc, you'll need to do that however winlirc does it.

    I'll get back to you soon,

    My keymappings have been set up in WinLIRC through the .cf file for my particular remote. I am using the remote fine with programs like Media Player Classic which can interface directly with a WinLIRC server.

    So the way I understand it, IR Server must be capable of capturing whatever is sent to/from WinLIRC and passing it on to MediaPortal.

    I assume the point of the debug tool is to see whether IR suite/server knows when I'm pushing a button?
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    My keymappings have been set up in WinLIRC through the .cf file for my particular remote. I am using the remote fine with programs like Media Player Classic which can interface directly with a WinLIRC server.

    So the way I understand it, IR Server must be capable of capturing whatever is sent to/from WinLIRC and passing it on to MediaPortal.

    I assume the point of the debug tool is to see whether IR suite/server knows when I'm pushing a button?

    That's right. The input service connects to winlirc and then uses the input events that winlirc generates. The Debug tool should be showing the button presses... Perhaps try clicking the configure button next to the winlirc component in Input Service Configuration and making sure those settings are right. Also, please provide the input service.log file so I can take a look at that.

    Cheers,
     

    Airw0lf

    Portal Pro
    April 19, 2008
    77
    3
    Home Country
    New Zealand New Zealand
    My keymappings have been set up in WinLIRC through the .cf file for my particular remote. I am using the remote fine with programs like Media Player Classic which can interface directly with a WinLIRC server.

    So the way I understand it, IR Server must be capable of capturing whatever is sent to/from WinLIRC and passing it on to MediaPortal.

    I assume the point of the debug tool is to see whether IR suite/server knows when I'm pushing a button?

    That's right. The input service connects to winlirc and then uses the input events that winlirc generates. The Debug tool should be showing the button presses... Perhaps try clicking the configure button next to the winlirc component in Input Service Configuration and making sure those settings are right. Also, please provide the input service.log file so I can take a look at that.

    Cheers,

    OK well your idea to look at the log files sent me down the right path.

    It basically boils down to this, an instance of WinLIRC needs to be running BEFORE the input service starts. I kept opening WinLIRC after starting the input service. This does no good at all. It looks like the input service needs to have an initial connection with WinLIRC going from the very beginning.

    Now all is well in the debugger...

    but I cannot get the MPControlPlugin to recognise any of my remote buttons. Looking at the MP Configuration.log, there clearly is something going wrong:

    Code:
    2008-04-27 21:01:09.796875 [Info.][IrssComms.Client.ConnectionThread]: MPControlPlugin: Connected to server
    2008-04-27 21:01:42.500000 [Info.][GenericPCQueue]: Exception   :System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:42.500000 [ERROR][GenericPCQueue]: Exception   :System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:42.500000 [Info.][GenericPCQueue]: Exception   :Input string was not in a correct format.
    2008-04-27 21:01:42.500000 [ERROR][GenericPCQueue]: Exception   :Input string was not in a correct format.
    2008-04-27 21:01:42.500000 [Info.][GenericPCQueue]:   site      :Void FormatError()
    2008-04-27 21:01:42.500000 [ERROR][GenericPCQueue]:   site      :Void FormatError()
    2008-04-27 21:01:42.500000 [Info.][GenericPCQueue]:   source    :mscorlib
    2008-04-27 21:01:42.500000 [ERROR][GenericPCQueue]:   source    :mscorlib
    2008-04-27 21:01:42.500000 [Info.][GenericPCQueue]:   stacktrace:   at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:42.500000 [ERROR][GenericPCQueue]:   stacktrace:   at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:44.718750 [Info.][GenericPCQueue]: Exception   :System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:44.718750 [ERROR][GenericPCQueue]: Exception   :System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:44.718750 [Info.][GenericPCQueue]: Exception   :Input string was not in a correct format.
    2008-04-27 21:01:44.718750 [ERROR][GenericPCQueue]: Exception   :Input string was not in a correct format.
    2008-04-27 21:01:44.718750 [Info.][GenericPCQueue]:   site      :Void FormatError()
    2008-04-27 21:01:44.718750 [ERROR][GenericPCQueue]:   site      :Void FormatError()
    2008-04-27 21:01:44.718750 [Info.][GenericPCQueue]:   source    :mscorlib
    2008-04-27 21:01:44.718750 [ERROR][GenericPCQueue]:   source    :mscorlib
    2008-04-27 21:01:44.718750 [Info.][GenericPCQueue]:   stacktrace:   at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:44.718750 [ERROR][GenericPCQueue]:   stacktrace:   at System.Text.StringBuilder.FormatError()
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0, Object arg1)
       at MediaPortal.Plugins.SetupForm.ReceivedMessage(IrssMessage received)
       at MediaPortal.Plugins.MPControlPlugin.ReceivedMessage(IrssMessage received)
    2008-04-27 21:01:45.984375 [Info.][GenericPCQueue]: Exception   :System.FormatException: Input string was not in a correct format.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I'll look at improving the WinLirc component so it will launch or at least continue attempting to connect so that if it starts later it will connect to WinLirc.

    Also, for the second part of your problem you need to update the MP Control Plugin dll. you can find the update in the first post of this thread.

    Cheers,
     

    shanek

    Portal Member
    May 22, 2006
    15
    0
    RC1 TV Server

    Hi i have installed the plugins fine and tested them but in tv server you cant seem to be able to select external box like you can in mediaportal.

    Im sure im just missing somthing here but when i change channels it swiches to the AV1 on my tv card but dosent blast the STB. Where do i set this in the TV server config now ?


    Thanks

    ShaneK
     

    Airw0lf

    Portal Pro
    April 19, 2008
    77
    3
    Home Country
    New Zealand New Zealand
    I'll look at improving the WinLirc component so it will launch or at least continue attempting to connect so that if it starts later it will connect to WinLirc.

    Also, for the second part of your problem you need to update the MP Control Plugin dll. you can find the update in the first post of this thread.

    Cheers,

    Great, now all is up and running.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom