HDMI CEC Adapter support

Discussion in 'IR Server Suite (IRSS)' started by AlexPlas, October 14, 2014.

  1. AlexPlas

    AlexPlas Portal Pro

    Joined:
    August 24, 2006
    Messages:
    231
    Likes Received:
    26
    Location:
    Kiev, Ukraine
    Ratings:
    +40 / 0
    Home Country:
    Ukraine Ukraine
    I've just bought Pulse-Eight USB HDMI CEC adapter and would like to add support of it to IRSS. The support should be separated into receiver plugin and custom command to control HDMI connected devices. It looks like implementation of receiver plugin is easy task, but all the commands are hardcoded in the sources. Is it possible to add custom command as plugin DLL?


     
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,631
    Likes Received:
    2,641
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,356 / 13
    Home Country:
    France France
    Show System Specs
    • Thank You! Thank You! x 1
    • Agree Agree x 1
  4. TheNoctambulist

    TheNoctambulist Portal Member

    Joined:
    January 27, 2013
    Messages:
    23
    Likes Received:
    14
    Gender:
    Male
    Ratings:
    +25 / 0
    Home Country:
    Australia Australia
    Macro commands are currently all hard coded. There seems to be some development code in the Commands folder that was designed to make the commands more extensible (this includes code for loading commands from plugin dlls). However, I am not sure what state this is in as it is currently not used. You could look at this and see what would be required to complete it.

    Another possibility to consider is implementing the ITransmitIR and ILearnIR plugin interfaces and using the BlastIR command to send your custom commands. This will probably be a simpler and less risky approach since everything you do will be restricted to your plugin.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
    • Informative Informative x 1
  5. AlexPlas

    AlexPlas Portal Pro

    Joined:
    August 24, 2006
    Messages:
    231
    Likes Received:
    26
    Location:
    Kiev, Ukraine
    Ratings:
    +40 / 0
    Home Country:
    Ukraine Ukraine
    Thanks for answers.

    I've seen CECremote plugin. It is good but not so flexible as IRSS. There are no macros.

    I'll try to investigate GitHub in order to understand on which stage are new commands implementation.
     
    • Like Like x 2
  6. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,909
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,232 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    It would be awesome if you could apply your skills to IRSS, AlexPlas :)
     
  7. Benoire
    • Premium Supporter

    Benoire MP Donator

    Joined:
    March 17, 2012
    Messages:
    679
    Likes Received:
    92
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    Auckland
    Ratings:
    +135 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    The biggest drawback with CEC is that some of the commands do not work outside of some TV functions, for example my Samsung TV will not send the info button via CEC. This means that I have to remap commands on my harmony to get it to work by emulating a button I won't use. This means I can't use the original remote.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!