ShortCut'er Plugin V2 (1 Viewer)

nicsergio

MP Donator
  • Premium Supporter
  • April 27, 2010
    161
    155
    Italy Italy
    Country flag
    version 2.0.5 is available, new features: add possibility to reset Caps-Lock & Num-Lock on MediaPortal start-up

    ....I often forget CapsLock active when I start MediaPortal, so every time I get up from the sofa and then to remove it :p ....

    Download from repository
     
    Last edited:

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Hi, thanks for updating the shortcuter plugin!

    I'm struggling with the ability to open with parameters though. For instance I would like to add shortcuts to open MovPics to 'All Movies' and OnlineVideos to 'English' catagory..

    I know the wiki gives a couple of examples, but doesn't really help to create new parameters? At least not to me! Any tips on where to look for this kind of information? Is it provided by the actual individual plugin developers?

    Thanks!

    EDIT: I'm also having issues using the config tool, its probably something I am doing wrong but, I can not edit any of the keys in the Key [KeyCode] or caption columns. For instance I select Movies in the tree and click the add button - this creates a new shortcut set to Moving Pictures with the key 'A' and the caption 'Shortcut' but I can not change either of these values or the values of existing default shortcuts?
     
    Last edited:

    nicsergio

    MP Donator
  • Premium Supporter
  • April 27, 2010
    161
    155
    Italy Italy
    Country flag
    Hi @TheBatfink

    The "load parameters" or "startup parameters" or "launch parameters" or even "hyperlink parameters", are made available by plugin developers, so the only way is to look in the documentation that provide (or ask directly to the developer).

    For Moving Pictures I found here an example: http://wiki.team-mediaportal.com/1_...s_Guide/1_Develop_a_Plugin/Startup_Parameters

    I tried it successfully --> Load Parameter is categoryname:${AllMovies}

    2014-01-01_183334.png


    For OnlineVideos, I found here the documentation: http://code.google.com/p/mp-onlinevideos2/wiki/LoadParameter
    but I think you need to create a group of sites and then pass the name of the group in the Load Parameter..


    For the problems you encounter with the configuration tool, I do not understand..
    Of course you can change all parameters of each shortcut, including Caption and assigned Key, to add a shortcut you have to use the Add button
    , which appends a default one, to assign the target can write directly to the Window ID or double click on the item in treeview, while the Caption or the Key you just positions the mouse on the box and then edited the field.
    The only parameter that could occasionally cause problems is precisely the Key (KeyCode), because when you're placed on the box, it activates a "keyboard hook" to intercept the keys you pressed.. if not change, try moving to another box (with the mouse) and return there ;)

    let me know
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Hey thanks for the info, I'll have a read up :)

    As for the changing of keys, I got that working in the end. I was clicking in the field to change the key, but found I needed to select the tree item first then press a key?
     

    nicsergio

    MP Donator
  • Premium Supporter
  • April 27, 2010
    161
    155
    Italy Italy
    Country flag
    I tried it and I noticed that moving the mouse from the treeview to the Key field of the table, the first time is not always correctly activated the hook (I have to do some testing)..

    if the Key (KeyCode) not change, simply move the mouse on another box in the table of shortcuts (eg. Caption box), and then returns to the Key box, so it should work
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    Nice stuff, I'm still using the older version of that plug-in. I'll upgrade ASAP.
    Do you or could you implement a 'toggle' feature?
    Say if the view associated with the key is already activated then go to previous view instead.
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    Actually you could do it even better by enabling one shortcut to cycle through multiple views.
    Think of the teletext key on your remote. You are fullscreen TV , hit teletext shows teletext, hit teletext again shows teletext transparent, hit the key again closes teletext.
    Not sure if that's doable or even if MP supports transparent teletext so maybe that example is not relevant.[DOUBLEPOST=1388936879][/DOUBLEPOST]How is this plugin different from KeyboardInput plugin?
    Can both plugins be installed?
    I could not find it through MP extensions manager for some reason but KeyboardInput turned up.[DOUBLEPOST=1388937252][/DOUBLEPOST]Also it would be nice if caps lock could actually be enabled on start-up. That would help me workaround an issue I have with AZERTY keyboard.
     
    Last edited:

    nicsergio

    MP Donator
  • Premium Supporter
  • April 27, 2010
    161
    155
    Italy Italy
    Country flag
    Actually you could do it even better by enabling one shortcut to cycle through multiple views.
    Think of the teletext key on your remote. You are fullscreen TV , hit teletext shows teletext, hit teletext again shows teletext transparent, hit the key again closes teletext.
    Not sure if that's doable or even if MP supports transparent teletext so maybe that example is not relevant.
    The functionality of having a shortcut with cyclic destinations would be feasible, although it does not seem very comfortable: I had in mind for a future version to implement a function "skin navigator", which is activated by a shortcut that allows you to navigate on the windows most used simply through the dialog box (ie without the need for changes to the skin).

    This is because, at present, when you want to switch from one window to another, you have these options:
    • use a dedicated key on the remote control, mapped using eg. shortcuter, but the remote control buttons are limited in number and, after mapping the various actions required (play, stop, etc.) there remain very few for this functions
    • have a link on the current window, made available by the skinner (but usually covers a feature linked to the current page, nothing more)
    • return to the BasicHome and select the destination from here, but usually this is a window from loading slow, full of fanart and animations
    The use of a simple standard dialog box allow greater speed and the ability to select multiple pages, such as a menu ..


    How is this plugin different from KeyboardInput plugin?
    Can both plugins be installed?
    I could not find it through MP extensions manager for some reason but KeyboardInput turned up.
    AFAIK Keyboard Input plugin allows you to completely remap all the actions of MP, so it is much more advanced than ShortCut'er, wich instead proposes to go in addition to the standard configuration.
    I have not installed Keyboard Input plugin, but I think the two plugins should live, of course if you map a key combination with KeyboardInput, this will never reach ShortCut'er and will be managed by the first plugin, as it uses a keyboard hook that intercepts keystrokes without them arrive to the system..


    Also it would be nice if caps lock could actually be enabled on start-up. That would help me workaround an issue I have with AZERTY keyboard.
    I do not know what its usefulness, but, if needed, I can change the plugin in the next release, leaving the possibility of:
    • force the reset of caps lock (recommended)
    • force the activation of caps lock (?)
    • leave the active state
     

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

    OP Similar threads Forum Replies Date
    S Shortcuts MP1 My Recorded & TV Guide General 10
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    R MediaPortal will not allow windows shortcut keys to work OffTopic 0
    R Playing a movie from a shortcut? OffTopic 1
    T MP2 - V2.1 Main Menu Full Screen (Shortcut F) Older releases 2
    T Shortcuts for Basic-Windows Input / Output interfaces 6
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    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
    Similar threads

























    Top Bottom