Work arounds for an alternative home screen (1 Viewer)

Rob Hexenmeister

MP Donator
  • Premium Supporter
  • May 12, 2011
    194
    42
    Slaithwaite
    Home Country
    United Kingdom United Kingdom
    Country flag
    Good evening!

    I would like MediaPortal to start up on an alternative screen (TV Scheduler). I have tried two methods which I hoped would cause MediaPortal to jump straight out of Basic Home to my required screen on loading.

    1. <define>#isWindowVisited:#(skin.setfocus(601,10))</define> at the start of the Basic Home xml

    2. <onfocus>#(skin.setfocus(601,10))</onfocus> within the default control (which would in effect become a dummy control) of the Basic Home xml

    Neither work.

    You may ask why am I doing it in the first place - well I want the functions of TV scheduler on the main home screen but I think they are hard coded to screen ID 601. If I could find a way to open the "Active Recordings" dialog box from Basic Home in a single key press then I would do that instead. I can't find an action or a hyperlink to achieve it. So....

    In the meantime, I am just curious as to why my work-arounds are no such thing and don't work at all.

    Thank you
    RH
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,351
    1,429
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    I would like MediaPortal to start up on an alternative screen (TV Scheduler). I have tried two methods ... neither work.
    My impression is that the MP skin engine was designed with a particular style of use in mind. Provided the skin author adheres rigidly to this expected style of use, the skin engine works well. But as soon as the skin author deviates from that style of use, the skin engine no longer works, or it does something unexpected.

    I am not aware of any way of starting MP on the "Scheduler" panel. I think that the best that you can do is to define a button on the remote to display the "Scheduler" panel. I have the BLUE button defined to do this, and I can use this button from anywhere within MP (including the "Home" panel, of course).

    If I could find a way to open the "Active Recordings" dialog box from Basic Home in a single key press then I would do that instead.
    I also would like to do this, but hyperlinks don't seem to work. I think that this may be because "Active Recordings" is not a true panel.

    An elegant solution might be to add a remote-control function that would display the "Active Recordings" dialogue. There are already other dialogues that can be displayed via the remote control (e.g. the "Exit MP" dialogue), so this solution would be consistent with existing MP conventions. I don't know how complicated it would be to add this capability.

    -- from CyberSimian in the UK
     

    Rob Hexenmeister

    MP Donator
  • Premium Supporter
  • May 12, 2011
    194
    42
    Slaithwaite
    Home Country
    United Kingdom United Kingdom
    Country flag
    My impression is that the MP skin engine was designed with a particular style of use in mind. Provided the skin author adheres rigidly to this expected style of use, the skin engine works well. But as soon as the skin author deviates from that style of use, the skin engine no longer works, or it does something unexpected.

    I am not aware of any way of starting MP on the "Scheduler" panel. I think that the best that you can do is to define a button on the remote to display the "Scheduler" panel. I have the BLUE button defined to do this, and I can use this button from anywhere within MP (including the "Home" panel, of course).


    I also would like to do this, but hyperlinks don't seem to work. I think that this may be because "Active Recordings" is not a true panel.

    An elegant solution might be to add a remote-control function that would display the "Active Recordings" dialogue. There are already other dialogues that can be displayed via the remote control (e.g. the "Exit MP" dialogue), so this solution would be consistent with existing MP conventions. I don't know how complicated it would be to add this capability.

    -- from CyberSimian in the UK


    I have found this and it is working for me in so far as it opens MP on screen ID 601 for me:
    MPStartIt - Start MediaPortal with specific plugin

    I think you could probably use it for what you are wanting to do too

    I will post my amended screen 601 for you and menu buttons when I have completed them, they are well on the way, but I am having some problems getting Latest Media Handler functionality on screen 601 (separate thread). I think you might like them when they are done.
    Latest Media Handler - skinning buttons
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,351
    1,429
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    I have found this and it is working for me in so far as it opens MP on screen ID 601 for me:
    MPStartIt - Start MediaPortal with specific plugin
    Very interesting! I was not aware of that plugin. Thanks for bringing it to my attention. :)

    I read your other thread about "Latest Media Handler", but I cannot offer any advice as it is not a plugin that I have used :(. Hopefully someone with more knowledge will be able to help. :)

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Similar threads

    In theory simply need add in MediaPortal/MediaPortal-1 Block like: GUIPropertyManager.SetProperty("focusPosX", _positionX); GUIPropertyManager.SetProperty("focusPosY", _positionY);
    In theory simply need add in MediaPortal/MediaPortal-1 Block like: GUIPropertyManager.SetProperty("focusPosX", _positionX)...
    Following properties would be very useful in my skin design: #posX The X position of the currently focused control #posY...
    Replies
    3
    Views
    494
    Yes that's more or less correct. I would like to set the #selectedindex to a value passed by hyperlinkParameter and set the focus. Of course we would know the control ID of what we want to focus, that should be the easy part by setting the default control on the screen we are jumping to but it is jumping to the correct item in the...
    Yes that's more or less correct. I would like to set the #selectedindex to a value passed by hyperlinkParameter and set the focus...
    Evening all! Here's a challenge. I would like a button on Basic Home, or wherever, to take me to a specific item in a listcontrol...
    Replies
    2
    Views
    729
    Yes I thought you and others might be interested in the logic I have used in some of the controls though. I am feeling rather smug with myself about the arrows on the left and right hand side of the LatestMH thumbnail on screen 601 for example ;) and the visibility condition
    Yes I thought you and others might be interested in the logic I have used in some of the controls though. I am feeling rather smug...
    Afternoon all, The Latest Media Handler facade and buttons (ids 919199840, 91919984 et al.) are only working for me on the basic...
    Replies
    19
    Views
    2K
    MP1 MP2 Two Home Screens? DE
    Hi OK. That is in your case the best solution. I do not know of a way to disable the scrolling. Check the settings for the home plugin if this is possible. //EDIT You see TV twice because the skinner has reserved space for five entries and since you have only four enabled plugins, the home plugin will fill the available space...
    Hi OK. That is in your case the best solution. I do not know of a way to disable the scrolling. Check the settings for the home...
    Hello. I'm loving MediaPortal. It's elegant and seems to work very well for my OTA needs. I have DefaultWide skin loaded with only...
    Replies
    8
    Views
    881
    Finally read that will not work.
    Finally read that will not work.
    How can I learn there is a control with what that ID? Why does not the animation, if it is registered in references.xml? Ie...
    Replies
    7
    Views
    1K
    Top Bottom