MPExTuneCmd Plugin (Sat. tuner channel changer) (1 Viewer)

FullMoon

Portal Member
October 10, 2004
38
0
Ok, I started looking at this thread and need to take a step back. Is this the only way to use a serial directv (DSS box) control with Media Portal to change channels? I don't want to get an uirt. Is there anything integrated with MP?

If this is the best option, I'll give it a try, just want to see if there's an easier way first.
 

brierot

Portal Member
June 25, 2005
20
0
Actisys IR200L blaster with Girder

edmondt said:
Nice plugin, I finally figured out how to get this to work with girder and the command line thing :)

I have a MCE 2005 remote, so I used the driver plugin from TheGreenButton forum. Then I imported the SageSetExternalChannel.gml which has the script and events to trigger 0,1,2,3 etc.

The configure the command to execute:
<girder path>/event.exe SageSetExternalChannel 18 # -silent

So when you say change channel to 600, it will be:

event.exe SageSetExternalChannel 18 600 -silent

The SageSetExternalChannel.gml will then execute command in this sequence: 6, 0, 0

very nice :)


Hope this helps someone else, I'll attach the files to SageSetExternalChannel.gml next.

Has anyone done something similar with Actisysl IR200L? I have research this topic here in MP forums as well as outside and figured that only thing that may work is using Girder but have yet to find anyone who has done this with Girder.
 

brierot

Portal Member
June 25, 2005
20
0
Alternative to Actisys IR200L blaster with Girder

brierot said:
edmondt said:
Nice plugin, I finally figured out how to get this to work with girder and the command line thing :)

I have a MCE 2005 remote, so I used the driver plugin from TheGreenButton forum. Then I imported the SageSetExternalChannel.gml which has the script and events to trigger 0,1,2,3 etc.

The configure the command to execute:
<girder path>/event.exe SageSetExternalChannel 18 # -silent

So when you say change channel to 600, it will be:

event.exe SageSetExternalChannel 18 600 -silent

The SageSetExternalChannel.gml will then execute command in this sequence: 6, 0, 0

very nice :)


Hope this helps someone else, I'll attach the files to SageSetExternalChannel.gml next.

Has anyone done something similar with Actisysl IR200L? I have research this topic here in MP forums as well as outside and figured that only thing that may work is using Girder but have yet to find anyone who has done this with Girder.

I may have found an alternative solution to trying to get IR200L (serial connected IR blaster) working with girder. There are a couple of utilities which should work when used with this 901Racer's utility, MPExTuneCmd.

Please see details in this thread if you are interested - http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?p=55084#55084
 

kaliatech

Portal Member
September 28, 2005
26
0
Thanks for creating the plugin 901Racer. However, I found that it wasn't working for me at first. I looked at the source, and I think I found the reason that I (and maybe a few others) are confused as to why the plugin wasn't working as expected.

The "Delimiter" field, should probably renamed to "Arguments" or similar. (Per conventional US English anyways.)

For example, I was trying to generate a command line like this:

Code:
...\my.exe -box D10100  #203

To do that, I assumed I setup the MpCmdPlugin with a command of:

Code:
...\directv.exe -box D10100

and default delimiter of #. However, as I finally figured out, the correct command/executable would be:

Code:
...\directv.exe

with a 'Delimiter' value of:

Code:
 -box D10100 #

IOTW, I think the delimiter field in the current plugin version is really supposed to be the full set of arguments you want to pass to the executable. The MpExTuneCmd plugin then simply appends the channel number to whatever has been entered in that field. This is why the plugin appears to work for many people using the default setup with the dtvcontrol.exe, but it didn't work for others expecting to be able to use it in a more generic setting requiring additional command line options, but misunderstanding how the field were related. I hope this helps.

Fwiw, I also had a few ideas for improving the plugin:
  • Change name of current "delimiter" field to "Arguments" on the GUI form and add a short descriptive text explaining the fields.
  • Change functionality by having the plugin do a find/replace of a substition variable rather than just appending the channel on the end. For example, an arguments value like "-Option1 -channel={channel} mycmd" or whatever would then be possible. The plugin would just find/replace any occurrence of {channel} with the actual channel number. Make sense? Probably not necessary, but would make the plugin very flexible.
  • Provide a simple "preview" link or string display on the GUI form showing what the full command line would look like when executed.
  • Maybe make the shell window display a checkbox option? This might help people debug problems with their external programs.

Just some ideas. If you are not interested in doing these changes or maintaining the plugin anymore, please let me know and I'll make the changes and submit a patch via sourceforge.

Again thanks for creating the plugin in the first place.
 

kaliatech

Portal Member
September 28, 2005
26
0
Just some ideas. If you are not interested in doing these changes or maintaining the plugin anymore, please let me know and I'll make the changes and submit a patch via sourceforge.

I noticed that 901Racer hasn't posted since January this year. Anyone know if he's still active? According to CVS, the MpExTuneCmd hasn't had any significant changes on it since about April...and even that was just some fixes by yamp on the original version.

If I don't get a response one-way-or-another, does anyone have thoughts on the suggestions for improvement I made above? If no one replies in the next week or so, I'll probably try some hacking myself. If it comes out good, I'll submit via SF.
 

natrlhy

Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    When trying to configure the plugin in Setup I get this:

    I realize this is an old post, but I so desparate to try ANYthing to get channel chaning working (serial OR IR) at this point...

    Running 0.2.0.4

    Code:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.TypeLoadException: Could not load type 'AMS.Profile.Xml' from assembly 'Core, Version=1.0.2414.28932, Culture=neutral, PublicKeyToken=null'.
       at MediaPortal.MPExTuneCmd.MPExTuneCmdForm.LoadSettings()
       at MediaPortal.MPExTuneCmd.MPExTuneCmdForm..ctor()
       at MediaPortal.MPExTuneCmd.MPExTuneCmd.ShowPlugin()
       at MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.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)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Configuration
        Assembly Version: 1.0.2414.28975
        Win32 Version: 1.0.2414.28975
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Configuration.exe
    ----------------------------------------
    Core
        Assembly Version: 1.0.2414.28932
        Win32 Version: 1.0.2414.28932
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Core.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Databases
        Assembly Version: 1.0.2414.28940
        Win32 Version: 1.0.2414.28940
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Databases.DLL
    ----------------------------------------
    DirectShowLib
        Assembly Version: 1.4.0.28922
        Win32 Version: 1.4.0.28922
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
    ----------------------------------------
    System.ServiceProcess
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
        Assembly Version: 1.0.2902.0
        Win32 Version: 9.05.132.0000
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3D.DLL
    ----------------------------------------
    System.Runtime.Serialization.Formatters.Soap
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
    ----------------------------------------
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    RemotePlugins
        Assembly Version: 1.0.2414.28963
        Win32 Version: 1.0.2414.28963
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
    ----------------------------------------
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    Microsoft.DirectX.DirectInput
        Assembly Version: 1.0.2902.0
        Win32 Version: 5.04.00.2904
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DirectInput.DLL
    ----------------------------------------
    Microsoft.DirectX
        Assembly Version: 1.0.2902.0
        Win32 Version: 5.04.00.2904
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DLL
    ----------------------------------------
    TVCapture
        Assembly Version: 1.0.2414.28944
        Win32 Version: 1.0.2414.28944
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/TVCapture.DLL
    ----------------------------------------
    TaskScheduler
        Assembly Version: 1.1.1007.26951
        Win32 Version: 1.1.1007.26951
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/TaskScheduler.DLL
    ----------------------------------------
    System.Management
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    Dialogs
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
    ----------------------------------------
    WindowPlugins
        Assembly Version: 1.0.2414.28958
        Win32 Version: 1.0.2414.28958
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.dll
    ----------------------------------------
    XihSolutions.DotMSN
        Assembly Version: 2.0.1.15051
        Win32 Version: 2.0.1.15051
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
    ----------------------------------------
    SubtitlePlugins
        Assembly Version: 1.0.2414.28937
        Win32 Version: 1.0.2414.28937
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/subtitle/SubtitlePlugins.dll
    ----------------------------------------
    TagReaderPlugins
        Assembly Version: 1.0.2414.28938
        Win32 Version: 1.0.2414.28938
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/tagreaders/TagReaderPlugins.dll
    ----------------------------------------
    ExternalPlayers
        Assembly Version: 1.0.2414.28936
        Win32 Version: 1.0.2414.28936
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/externalplayers/ExternalPlayers.dll
    ----------------------------------------
    Interop.iTunesLib
        Assembly Version: 1.7.0.0
        Win32 Version: 1.7.0.0
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/Interop.iTunesLib.DLL
    ----------------------------------------
    DirecTV.TunerPlugin
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/DirecTV.TunerPlugin.DLL
    ----------------------------------------
    DirecTV.SerialInterface
        Assembly Version: 0.0.0.0
        Win32 Version: 0.0.0.0
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/DirecTV.SerialInterface.DLL
    ----------------------------------------
    DirecTVTune
        Assembly Version: 1.1.0.5
        Win32 Version: 1.1.0.5
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/DirecTVTune.DLL
    ----------------------------------------
    MPExTuneCmd
        Assembly Version: 1.0.1848.17225
        Win32 Version: 1.0.1848.17225
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/MPExTuneCmd.DLL
    ----------------------------------------
    MyBlaster
        Assembly Version: 0.1.2.24851
        Win32 Version: 0.1.2.24851
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/MyBlaster.DLL
    ----------------------------------------
    ProcessPlugins
        Assembly Version: 1.0.2414.28967
        Win32 Version: 1.0.2414.28967
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.DLL
    ----------------------------------------
    Zap2itPlugin
        Assembly Version: 1.5.2381.20737
        Win32 Version: 1.5.2381.20737
        CodeBase: file:///D:/Team%20MediaPortal/MediaPortal/plugins/process/Zap2itPlugin.DLL
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    When trying to configure the plugin in Setup I get this:

    I realize this is an old post, but I so desparate to try ANYthing to get channel chaning working (serial OR IR) at this point...

    Running 0.2.0.4

    Are you running the version included in MP or did you
    download the one from the sf tracker?

    I just opened the configuration in SVN (approx 09/04/2006) using the
    version included with MP with no problem.

    HTH
    patrick
     

    Users who are viewing this thread

    Top Bottom