Call MovingPictures with remote button? (1 Viewer)

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
I can't see any way in MP config to set my remote's Video button to go to MovingPictures, so can I do this by editing a config file somewhere?

In fact, once in MovingPictures I'd like the Video button to go to MP-TV-Series as then I'd not need to use the Home menu to get to these two features, so please explain if I can do this as well.
 

Der_Bub

MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    Dependig of your remote, are several diffrent way to solve this and there are many tutorials for this ...

    For example I use the ShortCut'er Plugin to "map the MovingPictures screen to a key. In IRSS I map this key to a Button of my HarmonyOne (in MCE Mode).

    Greetings

    BERND
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I was hoping there was a simpler way of just editing a config file to make the Video key go to MovingPictures from anywhere (like my Guide button goes to the EPG from anywhere), except for when already in MovingPictures, when it should go to MPTVSeries.

    It's a shame that plugins like MovingPictures and MPTVSeries aren't shown in MP's remote config, 'cos then this would be easy.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I was hoping there was a simpler way of just editing a config file to make the Video key go to MovingPictures from anywhere (like my Guide button goes to the EPG from anywhere), except for when already in MovingPictures, when it should go to MPTVSeries.

    It's a shame that plugins like MovingPictures and MPTVSeries aren't shown in MP's remote config, 'cos then this would be easy.

    Configure the button you want to use on your remote control to an action inside MediaPortal configuration that it does work with. Then exit your remote.control.xml file and replace the ID of the action you picked with the ID that belongs to MovingPictures.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Configure the button you want to use on your remote control to an action inside MediaPortal configuration that it does work with. Then exit your remote.control.xml file and replace the ID of the action you picked with the ID that belongs to MovingPictures.

    I don't appear to have a remote.control.xml file. I found a Hauppauge HCW.xml file which contains the following:

    <button name="Videos" code="2024">
    <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" />

    and cross-checking with Config I can see that the first line means "when on Videos - Show GUI", the second "when on Fullscreen Video - Show GUI", and the third "when No Condition - go to Videos".

    I'm not really sure what counts as No Condition, but I think I need to change that line to go to MovingPictures instead, but what cmdproperty would do that? Then I need to change the first line so that conproperty = MovingPictures and cmdproperty=MP-TV Series, but again I have no idea what values to use, so if anyone can help that would be great.
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    AW: Call MovingPictures with remote button?

    Try

    <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="96742" sound="click.wav" />
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Thanks, that worked great.

    I tried the following to make it cycle between MovingPictures, TVSeries (code seems to be 9811) and Videos, but it just stays on MovingPictures.

    <button name="Videos" code="2024">
    <action layer="0" condition="WINDOW" conproperty="2005" command="ACTION" cmdproperty="18" sound="click.wav" />
    <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="96742" sound="click.wav" />
    <action layer="0" condition="WINDOW" conproperty="96742" command="WINDOW" cmdproperty="9811" sound="click.wav" />
    <action layer="0" condition="WINDOW" conproperty="9811" command="WINDOW" cmdproperty="6" sound="click.wav" />
    <action layer="0" condition="WINDOW" conproperty="6" command="WINDOW" cmdproperty="96742" sound="click.wav" />

    Any ideas how to make it work?
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    AW: Call MovingPictures with remote button?

    No sorry, did never try to do that. My guess would have been the same as yours.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I tried the following to make it cycle between MovingPictures, TVSeries (code seems to be 9811) and Videos, but it just stays on MovingPictures.

    For that to work, MediaPortal would have to be more aware of things, as in be able to detect which plugin is already active and it wasn't setup like that as far as I know. In short there is no conditional way to know if a plugin is open already. So my suggestion would be to use another button for MP-TVSeries.

    MP-TVSeries does have the skin option in the left side menu to jump straight to Moving Pictures plugin, and you could edit the skin to do the same with MovPic. You could even edit the skin to make this option available in other ways.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Oh well, never mind.

    I guess I can set the button to go to built-in Videos and then TVSeries and use the side menu from there to MovingPictures. It doesn't matter too much which order they come up in. Or set a different number button to go to each plugin, although I probably won't be able to remember which is which!

    Once it gets too complicated it's easier just to use the Home menu.

    I'll look into editing skins to see if I can get my head round that.
     

    Users who are viewing this thread

    Top Bottom