new plugin for changing channels (DirecTV w/serial port) (1 Viewer)

diehard2

Retired Team Member
  • Premium Supporter
  • April 22, 2006
    518
    28
    Chicago
    Home Country
    United States of America United States of America
    Hi Garry,

    When I click to configure your plugin on the latest version of Mediaportal, I get the following crash. Any help would be appreciated. Thanks

    ~Steve

    ************** Exception Text **************
    System.TypeLoadException: Could not load type 'MediaPortal.Profile.Xml' from assembly 'Core, Version=1.0.2299.33706, Culture=neutral, PublicKeyToken=null'.
    at DirecTVTune.Tune.LoadSetting()
    at DirecTVTune.TuneSetupForm..ctor()
    at DirecTVTune.Tune.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.2299.33982
    Win32 Version: 1.0.2299.33982
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Configuration.exe
    ----------------------------------------
    Core
    Assembly Version: 1.0.2299.33706
    Win32 Version: 1.0.2299.33706
    CodeBase: file:///C:/Program%20Files/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.2299.33708
    Win32 Version: 1.0.2299.33708
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
    ----------------------------------------
    DirectShowLib
    Assembly Version: 1.3.0.32917
    Win32 Version: 1.3.0.32917
    CodeBase: file:///C:/Program%20Files/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:///C:/Program%20Files/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
    ----------------------------------------
    TVCapture
    Assembly Version: 1.0.2299.33709
    Win32 Version: 1.0.2299.33709
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
    ----------------------------------------
    RemotePlugins
    Assembly Version: 1.0.2299.33710
    Win32 Version: 1.0.2299.33710
    CodeBase: file:///C:/Program%20Files/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:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DirectInput.DLL
    ----------------------------------------
    Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.DLL
    ----------------------------------------
    TaskScheduler
    Assembly Version: 1.1.1007.26951
    Win32 Version: 1.1.1007.26951
    CodeBase: file:///C:/Program%20Files/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:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
    ----------------------------------------
    DirecTVTune
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/DirecTVTune.dll
    ----------------------------------------
    WindowPlugins
    Assembly Version: 1.0.2299.33723
    Win32 Version: 1.0.2299.33723
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.dll
    ----------------------------------------
    XihSolutions.DotMSN
    Assembly Version: 2.0.1.15051
    Win32 Version: 2.0.1.15051
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    SubtitlePlugins
    Assembly Version: 1.0.2299.33717
    Win32 Version: 1.0.2299.33717
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/subtitle/SubtitlePlugins.dll
    ----------------------------------------
    TagReaderPlugins
    Assembly Version: 1.0.2299.33717
    Win32 Version: 1.0.2299.33717
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/tagreaders/TagReaderPlugins.dll
    ----------------------------------------
    ExternalPlayers
    Assembly Version: 1.0.2299.33716
    Win32 Version: 1.0.2299.33716
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/externalplayers/ExternalPlayers.dll
    ----------------------------------------
    Interop.iTunesLib
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7.0.0
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.iTunesLib.DLL
    ----------------------------------------
    ProcessPlugins
    Assembly Version: 1.0.2299.33714
    Win32 Version: 1.0.2299.33714
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.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>
    </configuration>
     

    scoop

    Retired Team Member
  • Premium Supporter
  • November 14, 2004
    614
    7
    Hi,

    Recompiled for >= RC3 and added support for the old "set command" so a few old boxes should be supported now as well. Make sure you configure the plugin for the right command via setup.

    Thanks to Corrupt_Byte on IRC for testing it. I'm still waiting for him to put the new version in the download section of the main site; in the mean time you can get the version here: http://scoop.cybox.nl/mediaportal/tmp/DirecTVTune.zip


    Kind regards,
    Michel
     

    diehard2

    Retired Team Member
  • Premium Supporter
  • April 22, 2006
    518
    28
    Chicago
    Home Country
    United States of America United States of America
    Hi guys,

    Ok, MP has me completely stumped on how to set it up to change channels externally. I'm sure this is probably very easy but I'm very lost. My settop box is connected to my tuner via coax. All channels are received on channel 4. I've loaded this plugin. Now I have no clue how to set this up. If you guys can give me a hand I would really appreciated it.
     

    CorruptByte

    Portal Member
    April 25, 2006
    14
    1
    Miami, FL
    Home Country
    United States of America United States of America
    DirecTVTune has been posted

    Well, I posted DirecTVTune.zip on the Media Portal home page a few days ago, it's there and it looks like a couple hundred people already found it.

    In response to diehard2, what you probably need to do is go into the Media Portal configuration and choose TV --> Channels and change the properties for each channel you recieve to use an external set top box. I think there's a tab that says "external" in the channel properties. On the external tab, change the channel value to the DirecTV channel. I'm not in front of my Media Center right now so I can't tell you exactly which fields you need to change, but look for a new post I will be making in a few days that gives a full tutorial on how to set up Media Portal with DirecTV.
     

    cashel

    Portal Member
    May 9, 2006
    20
    0
    Ocala, FL USA
    I'm using this plugin, and I gotta say, I love it, I have one problem however. Whenever I use the remote to enter a channel number, I don't get the channel I want. For example, I'll enter in 500 to start going through HBO, and it'll send me to 800 or whatever with the XM radio channels. I think this has something to do with the fact that the DirecTV channels aren't numbered sequentially, with there being large gaps of blank channels in some areas. How can I make MP change to the channel I want it to change to?
     

    CorruptByte

    Portal Member
    April 25, 2006
    14
    1
    Miami, FL
    Home Country
    United States of America United States of America
    Cashel, glad you like the plugin. The fact that the channels are changing incorrectly is odd, have you tried using the "old" command set option on the plugin config? If that does not work, use what ever command set does work and check off the "use extensive logging" option in the plugin config. Next, go into media portal and try to replicate the issue you are having. Then close Media Portal and go into the log directory and send a copy of the log to ChadRubin@gmail.com. Wost case scenario, Scoop and I will be coming out with a new and improved version of this plugin which may resolve your issue. It goes about chaning the channels in an entirely different way and it should be ready this weekend if all goes as planned.
     

    cashel

    Portal Member
    May 9, 2006
    20
    0
    Ocala, FL USA
    Well I did some research, and I don't think it really has to do with the plugin. It's more along the lines of the channel database. Pressing 500 sends me to the 500th channel listed in the channel database rather than channel 500. In order to get to channel 500, I have to enter something like 265 because it's the 265th entry in MP's channel database. Could your plugin perhaps create a work around for those of us with many channels that aren't 'logically numbered'?
     

    mzemina

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    cashel said:
    Well I did some research, and I don't think it really has to do with the plugin. It's more along the lines of the channel database. Pressing 500 sends me to the 500th channel listed in the channel database rather than channel 500. In order to get to channel 500, I have to enter something like 265 because it's the 265th entry in MP's channel database. Could your plugin perhaps create a work around for those of us with many channels that aren't 'logically numbered'?

    If you go into the setup program (configuration.exe) and then select Televiosn on the left tree, what is the checkbox in the Channel Numeric Selection area?
     

    Users who are viewing this thread

    Top Bottom