IR Server Suite - Public Test Version (4 Viewers)

Status
Not open for further replies.

RocketMan66

Portal Member
March 16, 2007
22
0
Home Country
OK, this is a copy of the error.log. There seems to be a problem. Any ideas?


01/11/2007 21:06:33 1 Exception :confused:ystem.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\All Users\Application Data\MediaPortal TV Server\STB'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at TvEngine.ExternalChannels.ExternalChannels_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
01/11/2007 21:06:33 1 Exception :Could not find a part of the path 'C:\Documents and Settings\All Users\Application Data\MediaPortal TV Server\STB'.
01/11/2007 21:06:33 1 site :Void WinIOError(Int32, System.String)
01/11/2007 21:06:33 1 source :mscorlib
01/11/2007 21:06:33 1 stacktrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at TvEngine.ExternalChannels.ExternalChannels_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    That error looks like it's happening in the configuration, not at the channel change. Do you have any other log entries?

    Also, you could try installing IR Server Suite, not the whole thing, not even the IR Server. Just the TV3 Blaster Plugin component. It has all the capabilities you should need and is being actively developed. Without IR Server installed it wont interfere with your IR device at all.
     

    RocketMan66

    Portal Member
    March 16, 2007
    22
    0
    Home Country
    There is nothing suspicious in any other logs. I have the IR Server Suite installed but I have not enabled the plugin in the TV Server. I will try using that instead.
    Thanks for your excellent work on developing a great plugin.
     

    riadmelb

    Portal Pro
    July 9, 2006
    218
    7
    Melbourne
    Home Country
    Hi, I would like to establish something but not sure how, could you please tell me if this is possible with IR Server Suite? Thanks a lot.

    Setup:
    Have pc1 as server+client and pc2 as client.
    Have 2 mce ir devices connected to both pcs.
    Have an ir extender connected from mce ir on pc1 to a setup box.

    Challenge:
    Would like to control the setup box directly from pc2 via remote. For example I’m sitting near pc2 and would like to access menu of setup box and do rescan for satellite channels, or do a firmware update.

    Any feedback is appreciated,
    riadmelb
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    ok, let me see if I have this right ...

    I might need you to explain it again in a bit more detail...

    PC 1:
    TV Server & Client.
    Has MCE device attached.
    MCE device is attached to STB for blasting IR.

    PC 2:
    Client.
    Has MCE device attached.
    MCE device is for receiving only.

    So what I need to know is, how do you want to control the STB from PC 2?
    Do you want to use the STB remote, an MCE or other remote near PC 2?
    Do you want to control the STB from within MediaPortal running on PC 2?


    Basically, I would use either:

    A)
    MP Blast Zone plugin on PC 2 is connected to IR Server on PC 1:

    PC 1:
    Running IR Server.
    TV Engine has TV3 Blaster plugin.
    Client has MediaPortal Control plugin and MP BlastZone plugin.

    PC 2:
    Running IR Server.
    Client has MediaPortal Control plugin.
    Client has MP BlastZone plugin, but is communicating with PC 1 as host instead of PC 2.

    This would let you set up BlastZone on PC 2 for controlling the STB.

    or
    B)
    Translator on PC 2 calls IrBlast to PC 1 IR Server when it receives STB remote buttons.

    PC 1:
    Running IR Server.
    TV Engine has TV3 Blaster plugin.
    Client has MediaPortal Control plugin and MP BlastZone plugin.

    PC 2:
    Running IR Server.
    Client has MediaPortal Control plugin.
    Running Translator. When translator see's STB remote buttons it executes IrBlast.exe which is directed to blast an IR on PC 1.


    Is one of those a suitable solution?

    Or have I got something wrong?

    Hope that helps,

    Cheers,
     

    jenz

    New Member
    February 27, 2007
    9
    0
    57
    Zürich
    Home Country
    Switzerland Switzerland
    Hi and-81,

    when running the IR Server (IR Server Suite - Release - 2007-10-28.zip) on Windows Vista x64 I get the follwoing exception in the log:

    03.11.2007 21:32:13: Log Opened
    03.11.2007 21:32:13 - Info: Starting IR Server ...
    03.11.2007 21:32:13 - Info: Started in Server Mode
    03.11.2007 21:32:13 - Error: Failed to start receive plugin: "Microsoft MCE"
    03.11.2007 21:32:13 - Error: System.ComponentModel.Win32Exception: Der an einen Systemaufruf übergebene Datenbereich ist zu klein
    bei MicrosoftMceTransceiver.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned)
    bei MicrosoftMceTransceiver.DriverVista.GetDeviceCapabilities()
    bei MicrosoftMceTransceiver.DriverVista.Start()
    bei MicrosoftMceTransceiver.MicrosoftMceTransceiver.Start()
    bei IRServer.IRServer.Start()
    03.11.2007 21:32:13 - Error: Failed to start transmit plugin: "Microsoft MCE"
    03.11.2007 21:32:13 - Error: System.ApplicationException: MicrosoftMceTransceiver already started
    bei MicrosoftMceTransceiver.MicrosoftMceTransceiver.Start()
    bei IRServer.IRServer.Start()
    03.11.2007 21:32:14 - Info: IR Server started



    and in the Translator log the follwoing exception appears:

    03.11.2007 21:33:08: Log Opened
    03.11.2007 21:33:08 - Info: Connected to server
    03.11.2007 21:33:08 - Debug: Mappable event: Translator_Start
    03.11.2007 21:33:08 - Info: Event mapped: Translator_Start,
    03.11.2007 21:33:08 - Error: Error enabling CopyData messages: System.ComponentModel.Win32Exception: Fehler beim Erstellen des Fensterhandles.
    bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
    bei Translator.CopyDataWM.Create()
    bei Translator.CopyDataWM..ctor()
    bei Translator.Program.Main(String[] args)
    03.11.2007 21:33:08 - Error: System.ArgumentNullException: Der Wert darf nicht NULL sein.
    Parametername: command
    bei Translator.Program.ProcessCommand(String command)
    bei Translator.Program.MapEvent(MappingEvent theEvent)
    03.11.2007 21:33:08 - Debug: Received Message "RegisterClient"
    03.11.2007 21:33:08 - Info: Registered to IR Server


    Off course the MCE works fine with MediaPortal. Any ideas?

    Cheers, Jenz

    PS: Let me know when you need any more info
     

    and-81

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

    This one is interesting ...

    03.11.2007 21:32:13 - Error: System.ComponentModel.Win32Exception: Der an einen Systemaufruf übergebene Datenbereich ist zu klein

    Can you give me a translation of the error message. I think I know what it means, but I want to be sure.

    It might have something to do with your OS being 64-bit ... but it could be because there are Vista MCE services running... I'll have to look into this one a bit.

    The CopyData error in translator.log is fixed in the next version.

    The ArgumentNullException looks like you have an event in the event mapper that is not executing because it has an empty command... I'll try to make it handle this more gracefully in the future.

    Thanks,
     

    Javierete

    New Member
    October 17, 2007
    4
    0
    Home Country
    Spain Spain
    Hi And-81!

    I have the latest version of the script and sending codes are improved very much (before I've got problems with a Sony TV) but now with the latest version the MCE IR Device stops working after learn 2 or 3 commands.

    Here's the Translator log file:


    05/11/2007 0:09:50: Log Opened
    05/11/2007 0:09:51 - Info: Connected to server
    05/11/2007 0:09:51 - Debug: Mappable event: Translator_Start
    05/11/2007 0:09:51 - Info: Event mapped: Translator_Start,
    05/11/2007 0:09:51 - Error: Error enabling CopyData messages: System.ComponentModel.Win32Exception: Error al crear identificador de ventana.
    en System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
    en Translator.CopyDataWM.Create() en C:\MediaPortal Development\Plugins\IR Server Suite\Applications\Translator\CopyDataWM.cs:línea 88
    en Translator.CopyDataWM..ctor() en C:\MediaPortal Development\Plugins\IR Server Suite\Applications\Translator\CopyDataWM.cs:línea 29
    en Translator.Program.Main(String[] args) en C:\MediaPortal Development\Plugins\IR Server Suite\Applications\Translator\Program.cs:línea 174
    05/11/2007 0:09:51 - Error: System.ArgumentNullException: El valor no puede ser nulo.
    Nombre del parámetro: command
    en Translator.Program.ProcessCommand(String command) en C:\MediaPortal Development\Plugins\IR Server Suite\Applications\Translator\Program.cs:línea 1279
    en Translator.Program.MapEvent(MappingEvent theEvent) en C:\MediaPortal Development\Plugins\IR Server Suite\Applications\Translator\Program.cs:línea 1021
    05/11/2007 0:09:51 - Debug: Received Message "RegisterClient"
    05/11/2007 0:09:51 - Info: Registered to IR Server
    05/11/2007 0:09:57 - Info: Enter configuration
    05/11/2007 0:10:58 - Debug: Received Message "LearnIR"
    05/11/2007 0:10:58 - Info: Learned IR Successfully
    05/11/2007 0:11:06 - Debug: Received Message "BlastIR"
    05/11/2007 0:11:17 - Debug: Blast successful
    05/11/2007 0:11:18 - Debug: Received Message "BlastIR"
    05/11/2007 0:11:18 - Debug: Blast successful
    05/11/2007 0:11:19 - Debug: Received Message "BlastIR"
    05/11/2007 0:11:19 - Debug: Blast successful
    05/11/2007 0:11:21 - Debug: Received Message "RemoteEvent"
    05/11/2007 0:11:21 - Debug: Active program not found in Translator program list
    05/11/2007 0:11:22 - Debug: Received Message "RemoteEvent"
    05/11/2007 0:11:22 - Debug: Active program not found in Translator program list
    05/11/2007 0:11:23 - Debug: Received Message "RemoteEvent"
    05/11/2007 0:11:23 - Debug: Active program not found in Translator program list
    05/11/2007 0:12:07 - Debug: Received Message "LearnIR"
    05/11/2007 0:12:07 - Info: Learned IR Successfully
    05/11/2007 0:12:13 - Debug: Received Message "BlastIR"
    05/11/2007 0:12:13 - Debug: Blast successful
    05/11/2007 0:12:41 - Debug: Received Message "LearnIR"
    05/11/2007 0:12:41 - Info: Learned IR Successfully
    05/11/2007 0:12:58 - Debug: Received Message "LearnIR"
    05/11/2007 0:12:58 - Info: Learned IR Successfully
    05/11/2007 0:13:00 - Debug: Received Message "RemoteEvent"
    05/11/2007 0:13:00 - Debug: Active program not found in Translator program list
    05/11/2007 0:13:08 - Debug: Received Message "BlastIR"
    05/11/2007 0:13:08 - Debug: Blast successful
    05/11/2007 0:13:14 - Warn: Communications with server has been lost
    05/11/2007 0:13:15 - Info: Connected to server
    05/11/2007 0:13:15 - Debug: Received Message "RegisterClient"
    05/11/2007 0:13:15 - Info: Registered to IR Server

    Thank you very much for your support you are developing a GREAT program.

    Excuse my bad English
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Javierete: Can you give me the IR Server.log file too?

    Thanks,
     

    Javierete

    New Member
    October 17, 2007
    4
    0
    Home Country
    Spain Spain
    Javierete: Can you give me the IR Server.log file too?

    Thanks,

    OK I deinstalled IR SERVER SUITE and do a fresh install and do some screen capture to help you resolving this issue:
    In translator I sucessfully learn 2 or 3 command but with the fourth command Translator doesn't learn the code and the only way to exit is clicking on the red cross.

    screen1ku7.jpg


    If I want to create a new code when pressing the Learn button it tells me inmediately "Failed to learn IR"

    screen2xn5.jpg


    And another crash is when I enter on IR Servers Setup (in the taskbar) and click OK the programm crashes completely here's the screen capture:

    screen3xn8.jpg
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom