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

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    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,336
    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,741
    3,501
    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,741
    3,501
    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

    MP1 MP2 Case Downsizing DE
    Most (all?) small PC cases accept only ITX motherboards, which have only one PCI-E slot. So you could install only one PCI-E tuner card. A quad-tuner card would give you four tuners, but if you wanted more tuners you would need to use the TBS eight-tuner card, or use external tuners, either USB tuners (available with single or dual...
    Most (all?) small PC cases accept only ITX motherboards, which have only one PCI-E slot. So you could install only one PCI-E tuner...
    I've been using MP2 now for about 3 years: I really happy with the way it works, although I can think of many great features I'd...
    Replies
    1
    Views
    403
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    510
    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
    2K
    Hi, it looks like the Client's server connection settings got corrupted somehow and were reset, hopefully this is an easy fix. Open MP2-Client, navigate to Settings->General->Connectivity->Home server. In the menu on the left there may be an option Detach from home server, if there is click it and acknowledge the dialog that pops up...
    Hi, it looks like the Client's server connection settings got corrupted somehow and were reset, hopefully this is an easy fix...
    Help Please: MP doesnt display any of my previouse recordings or TV programs It seems like the Server isnt running? MP was working...
    Replies
    3
    Views
    753
    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
    1K
    Top Bottom