Plugin: CEC remote for MP2 (1 Viewer)

Mario1976

Portal Member
August 30, 2015
6
2
Austria Austria
Hello Morpheus, thanks for this quick fix.

I just applied it following your instructions and MP2-Client doesn't crash on startup. And I can also confirm, that the remote is working now. I just tested basic navigation so far, but I think if there are problems with the mapping I should be able to mess around with defaultremotemap.xml ;)
 

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    I already have a .NET4 based version, but based on a former release. I was in contact with Manfred and he wanted to try to build a new binary on current code base. But I'm afraid he hadn't time yet.

    So if anyone has the required SDKs for the native code parts installed, please give it a try :)
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    Just ordered one of these adapters :)
    So maybe I will setup a VM or so :cool: Coudl you upload the src for the plugin somewhere?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    Sure: https://github.com/morpheusxx/MediaPortal-2/commits/FEAT_CECRemote.

    I have used my mirror, because I temporary commited binaries there, which I wanted to avoid in official repo. The binaries are from an older LibCEC.dll, but the managed part is compiled as .NET 4. The most recent version of this lib is: https://github.com/Pulse-Eight/libcec/tree/libcec-3.0.1.

    Quote from github:
    To compile libCEC on Windows, you'll need the following dependencies:
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    I have tested the plugin and have an issue:
    The remote does not work after the client resumed from sleep. Does anybody else have such a problem?
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    @morpheus_xx
    I fixed the plugin to work with my Tv I don't know if you are interested in these changes, but they are here:
    https://github.com/FreakyJ/MediaPortal-2/tree/FEAT_CECRemote

    Summary: My Tv doesn't send a KeyDown/KeyRelease event for the Play/Stop buttons. It also sends Play and Pause both as Play


    The first mark is for Forward/Rewind the Play commands are me pressing Play and Pause, there is no difference and the KeyDown/KeyRelease message is missing.
     

    Attachments

    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 3
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    C Can the XmlTv Plugin handle 600+ channels? General 3
    M Online Video Plugin V.2.32 keine Installtion unter MediaPortal 1.22 ? TV / Streaming 3
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    C where is the Online Videos plugin General Support 1
    Similar threads

























    Top Bottom