Generic Keyboard/Remote Input Plugin (2 Viewers)

netexplorer

MP Donator
  • Premium Supporter
  • January 21, 2009
    736
    104
    Home Country
    Germany Germany
    Holzi have created a new version in a german thread, which work fine for me. ->Link<-
     

    Pirppuli

    MP Donator
  • Premium Supporter
  • July 19, 2008
    63
    44
    Helsinki
    Home Country
    Finland Finland
    Hi,

    I have a problem with MP1.6 and the "Page Down" and "Page Up" actions when using this plugin. The actions are used as default in the MCE-Remote based mappings for Channel Down and Channel Up keys. When there is a dialog visible, for example the F9 context menu when playing a video or mini EPG when watching TV, pressing Channel Down or Channel Up causes an unhandled exception:

    Code:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at MediaPortal.MusicPlayer.BASS.BassAudioEngine.get_CurrentAudioStream()
       at MediaPortal.MusicPlayer.BASS.BassAudioEngine.OnNewAction(Action action)
       at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action)
       at MediaPortal.GUI.Library.GUIGraphicsContext.OnAction(Action action)
       at KeyboardInputPlugin.InputHandler.DoMapAction(String btnCode, Int32 processID)
       at KeyboardInputPlugin.InputHandler.MapAction(Int32 btnCode)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1022 (RTMGDR.030319-1000)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    MediaPortal
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MediaPortal.exe
    ----------------------------------------
    Core
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1002 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1001 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1001 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
        Assembly Version: 1.0.2902.0
        Win32 Version: 9.05.132.0000
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Utils
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------
    System.ServiceProcess
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1015 (RTMGDR.030319-1000)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    Common.Utils
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Common.Utils.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1015 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    log4net
        Assembly Version: 1.2.11.0
        Win32 Version: 1.2.11.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/log4net.DLL
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.233 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    Microsoft.DirectX
        Assembly Version: 1.0.2902.0
        Win32 Version: 5.04.00.2904
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    lxkdgmkv
        Assembly Version: 1.6.0.0
        Win32 Version: 4.0.30319.1001 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    RemotePlugins
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
    ----------------------------------------
    Interop.X10
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Interop.X10.DLL
    ----------------------------------------
    PresentationCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1015 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    ----------------------------------------
    WindowsBase
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1015 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3DX
        Assembly Version: 1.0.2911.0
        Win32 Version: 9.12.589.0000
        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
    ----------------------------------------
    Microsoft.VisualC
        Assembly Version: 10.0.0.0
        Win32 Version: 10.00.30319.01
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualC/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    DirectShowLib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
    ----------------------------------------
    WindowPlugins
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
    ----------------------------------------
    Databases
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Databases.DLL
    ----------------------------------------
    MiniDisplayLibrary
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MiniDisplayLibrary.DLL
    ----------------------------------------
    Dialogs
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
    ----------------------------------------
    System.Xaml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.298 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
    ----------------------------------------
    LastFMLibrary
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/LastFMLibrary.DLL
    ----------------------------------------
    System.Management
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    PresentationFramework
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1015
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
    ----------------------------------------
    System.Runtime.Serialization.Formatters.Soap
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
    ----------------------------------------
    NetflixAlphaPlugin
        Assembly Version: 0.1.1.3
        Win32 Version: 0.1.1.3
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/windows/NetflixAlphaPlugin.DLL
    ----------------------------------------
    OnlineVideos.MediaPortal1
        Assembly Version: 1.8.0.3146
        Win32 Version: 1.8.0.3146
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/windows/OnlineVideos.MediaPortal1.DLL
    ----------------------------------------
    System.Design
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.237 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    ----------------------------------------
    OnlineVideos
        Assembly Version: 1.8.0.3146
        Win32 Version: 1.8.0.3146
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/windows/OnlineVideos/OnlineVideos.DLL
    ----------------------------------------
    System.Runtime.Serialization
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1016 (RTMGDR.030319-1000)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
    ----------------------------------------
    SMDiagnostics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
    ----------------------------------------
    System.Runtime.DurableInstancing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll
    ----------------------------------------
    ExternalPlayers
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/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%20(x86)/Team%20MediaPortal/MediaPortal/Interop.iTunesLib.DLL
    ----------------------------------------
    KeyboardInputPlugin
        Assembly Version: 2.4.4.0
        Win32 Version: 2.4.4.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/process/KeyboardInputPlugin.DLL
    ----------------------------------------
    ProcessPlugins
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.DLL
    ----------------------------------------
    MusicShareWatcherHelper
        Assembly Version: 1.6.0.0
        Win32 Version: 1.6.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MusicShareWatcherHelper.DLL
    ----------------------------------------
    BassRegistration
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/BassRegistration.DLL
    ----------------------------------------
    Bass.Net
        Assembly Version: 2.4.10.0
        Win32 Version: 2.4.10.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Bass.Net.DLL
    ----------------------------------------
    BassVisAPI.Net
        Assembly Version: 2.4.0.0
        Win32 Version: 2.4.3.8
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/BassVisAPI.Net.DLL
    ----------------------------------------
    0so3cvzl
        Assembly Version: 1.6.0.0
        Win32 Version: 4.0.30319.1001 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    yf2iutex
        Assembly Version: 1.6.0.0
        Win32 Version: 4.0.30319.1001 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    edtftpnet-1.2.2
        Assembly Version: 1.2.2.0
        Win32 Version: 1.2.2.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/edtftpnet-1.2.2.DLL
    ----------------------------------------
    taglib-sharp
        Assembly Version: 2.0.3.7
        Win32 Version: 2.0.3.7
        CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/taglib-sharp.DLL
    ----------------------------------------
    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1022 built by: RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.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.

    Also, it would be great if someone could update the plugin's conditions to match those supported in the native MCE remote. At least the "Music is playing" condition is missing from this plugin.

    TIA,

    -P.
     

    quartermain

    Portal Member
    May 5, 2014
    16
    2
    74
    Home Country
    United Kingdom United Kingdom
    I've just installed this plugin to a fresh install of 1.6. I have a Streacom IRRC remote which generates a lot of keypresses with modifiers.

    If I go into Plugins, click on Keyboard Input Plugin and then click Config, I get an immediate error: Unhandled exception has occurred in your program.

    The reason is: "Item has already been added. Key in dictionary '9'. Key being added '9'.

    Looks like a duplicate record in a file - is there a file which backs up the data that I can edit?
     

    quartermain

    Portal Member
    May 5, 2014
    16
    2
    74
    Home Country
    United Kingdom United Kingdom
    So how do I replace the existing plugin with one from the .mpe1 file????
     

    quartermain

    Portal Member
    May 5, 2014
    16
    2
    74
    Home Country
    United Kingdom United Kingdom
    Hmm, overwriting the DLL clearly wasn't the way forward, I ended up with two of them - had to deinstall all and reinstall.
     

    Users who are viewing this thread

    Top Bottom