Recorded TV on Home? (1 Viewer)

jfirth8187

Portal Member
March 24, 2008
43
0
Brierley Hill
Home Country
United Kingdom United Kingdom
Hi all,

I'm confused with this totally. I use Indigo Blue with a few small tweaks, but this is not related to just one skin.

How do I add another item to the normal home screen? I would like the option of Recorded TV on there. I know it's picky but it would just finish off my amended home screen. So far I've tweaked and got the following showing:

Live TV
TV Series
Films
Music
Pictures
Weather
Explorer
Settings

It's looking really nice and I'd like to 100% wife proof it (sorry ladies) but this would top of my amendments to the impressive Indigo Blue skin.

Cheers all.
 

Bagal

MP Donator
  • Premium Supporter
  • December 15, 2006
    229
    16
    Home Country
    United Kingdom United Kingdom
    The following should do what you want, you can either extract the hyperlink from below and replace one of your existing buttons or copy the whole lot and adjust the posX and posY values to fit the button into your existing layout.

    Code:
    <control>
          <description>Recorded TV Button</description>
          <type>button</type>
          <id>2</id>
          <posX>306</posX>
          <posY>205</posY>
          <width>253</width>
          <height>166</height>
          <textureFocus>basic_button_focus.png</textureFocus>
          <textureNoFocus>basic_button_nofocus.png</textureNoFocus>
          <hyperlink>603</hyperlink>
          <label>605</label>
          <textcolor>00ffffff</textcolor>
          <textcolorNoFocus>00ffffff</textcolorNoFocus>
          <onleft>11</onleft>
          <onright>3</onright>
          <onup>21</onup>
          <ondown>7</ondown>
        </control>
        <control>
          <description>Recorded TV Button Label</description>
          <type>label</type>
          <id>1</id>
          <posX>430</posX>
          <posY>335</posY>
          <label>My Recorded TV</label>
          <align>Center</align>
        </control>
        <control>
          <description>Recorded TV Button Image</description>
          <type>image</type>
          <id>1</id>
          <posX>380</posX>
          <posY>219</posY>
          <width>100</width>
          <height>100</height>
          <texture>hover_my tv.png</texture>
        </control>
     

    jfirth8187

    Portal Member
    March 24, 2008
    43
    0
    Brierley Hill
    Home Country
    United Kingdom United Kingdom
    Sorry for the daft response but this looks like code for the basic home screen? I've configured that screen, I'm looking to add the extra button onto the main Home Screen. Will this code work the same, if so where to I put it, which file do I alter?

    Cheers, Jon.
     

    Bagal

    MP Donator
  • Premium Supporter
  • December 15, 2006
    229
    16
    Home Country
    United Kingdom United Kingdom
    Yep, you're right it is for the basic home screen, sorry didn't realise you wanted it for the main home screen.

    I'm not sure what you want is possible, as far as I'm aware the main home screen just lists plugins that you've set to appear on home and since recorded tv is part of the tv plugin, you can only put the tv plugin on home.

    Another option might be to customise the basic home to appear like the main home screen with the options you want, unfortunately I'm not sure how you'd go about this as all I've done is customise the various buttons.

    Bagal.
     

    jfirth8187

    Portal Member
    March 24, 2008
    43
    0
    Brierley Hill
    Home Country
    United Kingdom United Kingdom
    Is it possible then to create a plugin that will sit on the Main Home Screen and just link into the recorded TV part of the program. Similar to using the hyperlinks in the basic home screen?
    Can this be done?
     

    Bagal

    MP Donator
  • Premium Supporter
  • December 15, 2006
    229
    16
    Home Country
    United Kingdom United Kingdom
    I don't see why it can't be as it sounds plausible enough. I guess it would be a case of allowing the user to configure which screen they wanted to go to and programmatically navigating to that screen when the plugin was activated, I haven't looked at the MP sourcecode for a while so off the top of my head I couldn't tell you how to do this.

    Bagal.
     

    jfirth8187

    Portal Member
    March 24, 2008
    43
    0
    Brierley Hill
    Home Country
    United Kingdom United Kingdom
    no probs, hopefully somebody will have a look at this thread who has experience of configuring this screen. Thanks for the code for the basic home screen. I'll use that.

    Cheers Jon. :D
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    The items in the home-menu is created by MediaPortal and can not be changed, without poking around with the core-files in Visual Studio. But, you can always make your own home-menu. Just edit the myHome.xml-file to your needs, but remember that if you delete the home-menu, the file won't display. I have fixed this by putting the menu outside the visible area (xOffset).

    Only problem, the way that the menu is animated can not be done in a list - you have to do a REALLY big editing job in the XML-file to get this (doing a lot of animations and conditional focus etc.).

    If navigating in the menu WITHOUT the animation is ok, it's simple enough. But a bit of the bling-bling with the cool animation is gone :)
     

    jfirth8187

    Portal Member
    March 24, 2008
    43
    0
    Brierley Hill
    Home Country
    United Kingdom United Kingdom
    could you make a plugin? these can be shown on the home menu and fit into the animated menu system. Then just link the plugin to the module?
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    I'm pretty sure that a plugin would be doable - you should find the menu with ID 50 and inject an extra item. I don't know hom menus work, but adding items to a facadeview (list, thumb, filmstrip) is not much more than 3 lines after the initial code that every plugin needs.
     

    Users who are viewing this thread

    Top Bottom