ShortCut'er Plugin - Shortcuts for the MP sections (1 Viewer)

MoPhat

Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    [DEVELOPMENT WILL BE CONTINUED HERE]

    FINAL RELEASE 1.0 NOW AVAILABLE!

    This plugin let you create keryboard shortcuts to any screen like myDVD, TV etc...

    You can also create shortcuts like CTRL + SHIFT + [KEY] !!! :p

    Just put the ShortCuter.dll in the plugin / process folder and let me know if its works for you.


    Update 11.11.2011
    Uploaded 1.2.0+ compatible version

    Update 24.08.2009
    - Compiled against the MP1.1 Alpha version (ShortCuter_MP1.1.rar)

    Update 24.3.2008
    - Release 1.0 (final) are now available!
    - New sources and plugin attached
    - Its now possible to use CTRL + SHIFT with some keys

    Update 8.2.2008
    - its now possible to add new shortcuts
    - New sources and plugin attached
    - i have not found yet a solution to implement that 3 keys at the sametime are detected in MP like CTRL+ALT+X, if anyone has a tip...give it to me :D

    Update 18.12.2007:
    - the Sources are now attached here
    - a compiled version is also attached


    feel free to check the sources an give feedback how to solve this ;) SC_Screenshot.jpg

    greetz
    MoPhat

    [DEVELOPMENT WILL BE CONTINUED HERE]
     

    Attachments

    • ShortCuter_plugin.rar
      30.6 KB
    • ShortCuters_sources.rar
      30.7 KB
    • ShortCuter_MP1.1.rar
      30.6 KB
    • ShortCuter-MP1.2.0+ compatible.rar
      17.1 KB
    Last edited by a moderator:

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    MoPhat,

    thanks a lot for this great plugin. It seems it will solve all my keyboard/remote problems.

    In any case I suggest to put those shortcut in the main MP code so all users are not forced to download an external dll to have all My* keys work.

    Will post my feedback this evening , after a try in real life...

    Simone
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    MoPhat,

    I'm trying to test your shortcut, but with Imon I have some difficulties mapping the choiced keys.
    Can you change them using something like:

    Home = Ctrl + h
    Tv = Ctrl + t
    Tv Full = Ctrl + Shift + t = Ctrl + T
    Teletext = Ctrl + e
    Teletext Full = Ctrl + Shift + e = Ctrl + E
    Movies = Ctrl + v
    Movies Full = Ctrl + Shift + v = Ctrl + V
    Radio = Ctrl + r
    Music = Ctrl + m
    Pictures = Ctrl + p
    Tv guide = Ctrl +g
    Weather = Ctrl + w

    Thanks in advance.

    Simone
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    chemelli

    Check version 1.0 in the first post.
    you can now set the keys for the shortcuts - i hope this solves your problems :p

    With my iMon remote control, i have no problems with the remote keys.


    => sorry its not possible for this moment to use 2 keys like Ctrl + h or similar :mad:

    greetz
    MoPhat
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    MoPhat,

    thanks a lot for the quick update, but how to do configure iMON software to handle semigraphic char like the one in the first post ?

    Can you be so kind to attach your .IMO file ?
    Simone
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    Please use the new bug-fixed version 1.1 and the imo file, this works well for me :p

    MoPhat
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    > Knows anyone the ID of the DVD screen?

    greetz
    MoPhat


    In the Generic Keyboard Plugin source I found this:

    ---------- KEYBOARD.XML
    <button name="DVD/Menu" code="11077">
    <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="91" sound="cursor.wav" />
    <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="92" sound="cursor.wav" />

    ----------
    give it a try :)

    Simone
     

    MoPhat

    Retired Team Member
  • Premium Supporter
  • June 17, 2007
    816
    226
    Berg
    Home Country
    Switzerland Switzerland
    thanks chemelli, but that's not that what i need :(

    I need the ID from the XML file in the skin folder like this one:

    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <window>
    [COLOR="Red"][B]  <id>6</id>[/B][/COLOR]
      <defaultcontrol>2</defaultcontrol>
      <allowoverlay>yes</allowoverlay>
      <define>#header.label:134</define>
      <define>#header.image:videos_logo.png</define>
      <define>#header.hover:hover_my videos.png</define>


    Its anywhere in the mymovies files, but i have not found yet.


    does this version work for you?

    thanks
    MoPhat
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    MoPhat,

    I'm not at home now to make a full test, but it seems to work really fine ;-) Thanks for your work.

    I found this peace of code in C:\SourceMP\MediaPortal\MediaPortal.Base\skin\BlueTwo wide\settings_dvd.xml:

    Code:
    [LEFT]<?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <window>
      <id>[COLOR="Red"][B]704[/B][/COLOR]</id>
      <defaultcontrol>24</defaultcontrol>
      <allowoverlay>yes</allowoverlay>
      <define>#header.label:6015</define>
      <define>#header.hover:hover_my videos.png</define>[/LEFT]

    Hope this helps.

    Simone
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    MoPHat,

    I have your solution up and running with the same issues I have on MyKeys actually ;-(
    no MyDVD and keys overlap other keys...

    Is it possible for you to share the code ? I would like to add <ctrl> and <alt> identifiers for each key. This will give users the option to enable them and translate a "T" to "Ctrl+T" or "Ctrl+Alt+t" that will not interfere with others plugin keys...

    Thanks again for your work and time.

    Simone
     

    Users who are viewing this thread

    Top Bottom