Work arounds for an alternative home screen

Discussion in 'General Support' started by Rob Hexenmeister, November 13, 2019.

  1. Rob Hexenmeister
    • Premium Supporter

    Rob Hexenmeister MP Donator

    Joined:
    May 12, 2011
    Messages:
    118
    Likes Received:
    16
    Gender:
    Male
    Location:
    Slaithwaite
    Ratings:
    +28 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,687
    Likes Received:
    558
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +985 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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
     
    • Agree Agree x 1
  4. Rob Hexenmeister
    • Premium Supporter

    Rob Hexenmeister MP Donator

    Joined:
    May 12, 2011
    Messages:
    118
    Likes Received:
    16
    Gender:
    Male
    Location:
    Slaithwaite
    Ratings:
    +28 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs

    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
     
  5. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,687
    Likes Received:
    558
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +985 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!