Reconfiguring Remote Shortcuts (1 Viewer)

eetaylog

Portal Pro
March 6, 2007
874
41
43
South London
Home Country
England England
Does anyone know how to reconfigure remote controls, so that its possible to change the plugin that each shortcut key activates?

I have a hauppauge 45 button remote, and currently the 'videos' button at the top of the remote activates the MyVideos plugin, but id like to change this so that it launches MyFilms.

:D
 

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Hi eetaylog :)

    You will first have to find the file holding the remote mappings and commands. Easy way is to do a temporary change from the Mp Configuration; Remotes and to save your change. Then look for the xml file with today's date and time in one of the following locations:
    XP=C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\InputDeviceMappings
    Vista=C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings

    Mine is Microsoft MCE.xml and I will explain based on that.

    Edit Microsoft MCE.xml
    Look for this piece of code:
    <button name="My Videos" code="74">
    <action layer="0" condition="WINDOW" conproperty="6" command="ACTION" cmdproperty="18" sound="click.wav" />
    <action layer="0" condition="WINDOW" conproperty="2005" command="ACTION" cmdproperty="18" sound="click.wav" />
    <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="6" sound="click.wav" />
    </button>

    Change the 6 (marked in red above) to 7986 (I think that is te windowid for myfilms).
     

    eetaylog

    Portal Pro
    March 6, 2007
    874
    41
    43
    South London
    Home Country
    England England
    fantastic, ill give it a try tonight. a few questions though...

    1) how do i find out if 7086 is definately the correct cmdproperty code for MyFilms? is it written down in the MyFilms xml files somewhere?
    2) what changes do i make in MP remote configuration?
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    1. Yes, the id should be in top of myfilms xml file.
    2. Change anything. Example: map your PLAY button to PAUSE. Save it. Change it back to PLAY. It is just to ensure the xml file is updated with a new date/time so that you can easy identify it.
     

    eetaylog

    Portal Pro
    March 6, 2007
    874
    41
    43
    South London
    Home Country
    England England
    great, thanks. Just out of interest, the MyFilms ID seems to be 7986...

    (taken from the very top of MesFilms.xml)...

    <window>
    <id>7986</id>
    <defaultcontrol>1026</defaultcontrol>
    <allowoverlay>no</allowoverlay>
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    Thanks, I have updated my first post with that id.
     

    Users who are viewing this thread

    Top Bottom