[Finished] [MP2-789] Keyboard shortcuts (2 Viewers)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Setting up Harmony as a "Windows Remote" is a possible solution but I believe there has to be also a compatible IR-Receiver for this to work.
    You need a RC6-compatible receiver. It will translate into a certain number of eHome devices listed in Windows device manager.
     

    Man Pang

    Portal Pro
    May 25, 2015
    77
    45
    Home Country
    United Kingdom United Kingdom
    So why don't you configure it for a Windows Media Center PC to control MediaPortal?

    As a counter-question why was the decision made to eschew full keyboard control from MP2? I find it extremely bizarre (much akin to Apple eschewing a headphone jack in their latest iPhone). As a developer of professional media players, we would be crucified by our customers if we made such bizarre business decisions. If your decision is to solely provide MCE remotes (of which they are difficult to purchase and also not suitable for everyone) as the sole input method to MP2 then that is your prerogative but I would be genuinely interested to hear your reasoning for the lack of support of certain user input devices in MP2, which incidentally is an extremely useful and innovative app.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    As a counter-question why was the decision made to eschew full keyboard control from MP2?
    This is a misinterpretation. Such decsion was never made. When development staarted many year ago there was no real initial concept for this element. We are well aware of the current situation.

    I would be genuinely interested to hear your reasoning for the lack of support of certain user input devices in MP2, which incidentally is an extremely useful and innovative app.
    Thanks for siomepositive statements ;). But seriously, input management is on our ToDo list but w can't realize everything at the same time. As @Timhoh1234 mntioned we would be more than grateful if could interest more developers in joining the team. So, if you would like to contribute, you will be very welcome!
     

    Man Pang

    Portal Pro
    May 25, 2015
    77
    45
    Home Country
    United Kingdom United Kingdom
    Timhoh1234 and HTPCSourcer,

    I am a developer and I am sure I can add a simple function to redirect keyboard events to MCE events but as I write software as a profession, I tend to spend non-working time on things other than software development. Writing a keyboard handler shouldn't take long - just intercept Windows key down events and call the requisite functions. Not sure why you mentioned time constraints as I can't see anything too difficult writing a keyboard handler.

    I won't make any promises but if the code does compile under Visual Studio, I may add a keyboard handler in the code.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    but if the code does compile under Visual Studio
    Yes it does.
    I may add a keyboard handler in the code.
    As a good starting point you should look at the current input handling interfaces and classes:
    There are more input related plugins like "IrInput" plugin that handles IRSS commands.

    So if you take a look at current code, you will find a good base for own extensions. And as written already, there are existing plans to extend / rework the input handling further.

    If you have questions to code, please feel free to ask.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    So if you take a look at current code, you will find a good base for own extensions. And as written already, there are existing plans to extend / rework the input handling further.
    This is the point, I recommend to talk with @osre so you go into the same direction. Worst would be two seperate ideas that do not match to each other.
    I can understand and respect, that you prefer to spend freetime without programming, so I give also special thanks in case you are willing to support our project!
     

    Man Pang

    Portal Pro
    May 25, 2015
    77
    45
    Home Country
    United Kingdom United Kingdom
    OK, that's
    Yes it does.

    As a good starting point you should look at the current input handling interfaces and classes:
    There are more input related plugins like "IrInput" plugin that handles IRSS commands.

    So if you take a look at current code, you will find a good base for own extensions. And as written already, there are existing plans to extend / rework the input handling further.

    If you have questions to code, please feel free to ask.

    OK great that it compiles under Visual Studio. I cannot stand faffing around with GCC (try compiling FFMPEG for example!)
     

    Man Pang

    Portal Pro
    May 25, 2015
    77
    45
    Home Country
    United Kingdom United Kingdom
    This is the point, I recommend to talk with @osre so you go into the same direction. Worst would be two seperate ideas that do not match to each other.
    I can understand and respect, that you prefer to spend freetime without programming, so I give also special thanks in case you are willing to support our project!

    Got it - will contact osre where necessary. I am now downloading the code from GitHub. MediaPortal has provided me with so much fun and I admit that I have not contributed financially so perhaps I contribute by way of implementing the keyboard handler later this month (during Chinese New Year holidays as I am based in Hong Kong).
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,705
    3,491
    Stuttgart
    Home Country
    Germany Germany
    Got it - will contact osre where necessary. I am now downloading the code from GitHub. MediaPortal has provided me with so much fun and I admit that I have not contributed financially so perhaps I contribute by way of implementing the keyboard handler later this month (during Chinese New Year holidays as I am based in Hong Kong).
    新年快乐和感谢
     

    Users who are viewing this thread

    Similar threads

    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    218
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    Hi, I have just upgraded from MP 2.2.2 to MP 2.4.1, and now the client won't start. I see the splash screen, and then it just...
    Replies
    3
    Views
    913
    MP1 MP2 MP2 - V2.5 No genres after upgrade to 2.5 DE
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and music are part of the NET6 version as for NET4. If you have issues with it further infos would be good.
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and...
    Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System...
    Replies
    10
    Views
    1K
    Thanks for the info. Now I know how to create logs. I remapped the keys and, for the moment, after using MP2 several times, they function well. If the mapping disappears again, I'll send you some logs. Thank you!
    Thanks for the info. Now I know how to create logs. I remapped the keys and, for the moment, after using MP2 several times, they...
    Hi, I changed recently from MP1 to MP2 and I'm very happy with the change. But I still have to learn quite a few things. Sorry if...
    Replies
    4
    Views
    1K
    Any other suggestions for this?
    Any other suggestions for this?
    I have Flirc and the Skip 1s remote sending volume +/- events. I prefer to rely on just the Windows volume control so in...
    Replies
    4
    Views
    536
    Top Bottom