Window Name in Remote Mappings? (1 Viewer)

Todd

Portal Member
March 14, 2006
6
0
Fairfield, CT USA
First and foremost... fantastic plugin! Really great job all around! Many thanks!

I'm trying to change my remote settings so that when I click "My TV" it goes here rather than the usual live TV window. In the MCE mappings window, I've set Layer=all, No Condition, Action=window, but I can't seem to figure out which window name to choose.

I'm using v2.2.0 of Mediaportal and v.0.9.5 of My TV-Series with the Blue Two Wide skin. I checked the skin file for a name, but only found an ID.
Hope I didn't miss something stupid.

Thanks,
Todd
 

NickName

MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    Try running MP in Windowed mode. Open the Task Manager and you'll see the current Window name in use in MP. i.e. the Window name changes based on the screen in MP you are looking at.
     

    Ashius

    Portal Member
    April 3, 2007
    14
    0
    Home Country
    I have got it to work, by manually editing the XML file by using the "MCE Remote Replacement" plugin. Here is how i did it:

    1. Go to the skins folder and open the folder for the skin you are using.

    2. Open the TVSeries.xml For me that is "c:\Program Files\Team MediaPortal\MediaPortal\Skin\Project Mayhem 3\TVSeries.xml"

    3. At the top of the file is:
    Code:
    <window>
      <id>9811</id>

    Write down the ID i.e 9811

    4. Open your 'MCE Replacement.xml' file which holds all the command for your remote. eg mine is: "c:\Program Files\Team MediaPortal\MediaPortal\InputDeviceMappings\custom\MCE Replacement.xml"

    5. In the file find the button you wish to change. For myself i wanted to change the 'My TV' button.

    This is what it looked like before it changed:

    Code:
    	<remote family="Extended buttons">
    		<button name="My TV" code="70">
    			<action layer="0" condition="WINDOW" conproperty="7701" command="WINDOW" cmdproperty="602" sound="click.wav" />
    			<action layer="0" condition="WINDOW" conproperty="1" command="ACTION" cmdproperty="18" sound="click.wav" />
    			<action layer="0" condition="WINDOW" conproperty="602" command="ACTION" cmdproperty="18" sound="click.wav" />
    			<action layer="0" condition="WINDOW" conproperty="7700" command="ACTION" cmdproperty="18" sound="click.wav" />
    			<action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="[B]1[/B]" sound="click.wav" />

    All i did was change the last line:
    Code:
    <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="[B]9811[/B]" sound="click.wav" />

    6. Save the file and your all done

    Couple of notes:
    If you open the MCE Plugin again to change any more buttons then it overwrite your changes.

    The 'MCE Replacement.xml' will only be in the custom folder if you have already changed a button. If it is in the default folder i would copy it to the custom folder then edit it. I have no idea what will happen if you change it in the default folder.

    This will work for any plugin (i also use the MyFlims plugin) just find the right window ID.

    I hope this makes sense and helps some people out.

    Cheers
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Hey there,

    Great first post Ashius, I like the way you think.

    I recently made a change to the "Goto Window" Macro command in the MCE Replacement Plugin so it can take a name or a number, so you can use it to jump to the TV Series plugin too now.

    If you assign the macro to your remote button it wont be overridden when you next modify the configuration.

    Edit:
    https://forum.team-mediaportal.com/...ce_replacement_plugin-p109406.html#post109406

    Cheers,
     

    Ashius

    Portal Member
    April 3, 2007
    14
    0
    Home Country
    ohh nice!

    That will make it a lot easier! Thanks for the update and-81!

    Also Inker keep up the good work! This plugin really makes MP.
     

    xavier

    MP Donator
  • Premium Supporter
  • December 12, 2004
    121
    17
    Venice
    Home Country
    Italy Italy
    Hi and-81,

    I recently made a change to the "Goto Window" Macro command in the MCE Replacement Plugin so it can take a name or a number, so you can use it to jump to the TV Series plugin too now.

    I apologize, but where is this change ? :oops:

    I select the tab "Macros", the button "New", assign a "Name", from the combo-box "Commands" select "Goto Screen", then click the button "Add".

    Which screen I need to select now ?

    Best regards,
    xavier.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Where you can select a window name you should now be able to type a number into that combo box.

    Let me know if it doesn't work :)

    Cheers,
     

    Users who are viewing this thread

    Top Bottom