MediaPortal Windows Media Center
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.0.0 to 1.0.1 > TV Guide Groups Handling

TV Guide Groups Handling

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

    The tvguide now has the ability to handle a new button "Switch TV Group".

    Description of Change

    These changes are optional to other skins. Without modifcation TV Guide will work as before!

    Skins Blue3/wide are extended in: mytvguide.xml, dialogTvGuide.xml.

    To optimize the use of available space the new button isaligned vertical left of the channels

    There are 2 new (vertical) button backgrounds created: small_vbutton_focus.png / small_vbutton_nofocus.png (done by simple rotation of default small button)

    A new tag #TV.Guide.ChangeGroup: Contains the button label, built internally from String 971 ('Group'): Tv Group Name (i.e. in german 'Gruppe: ARD')

    Attention: The button and label are separated, because rotated buttons don't focus properly!

    Button's control id: 100

    Additional Information and References

    • Mantis Issue:
    • Related xml(s):  mytvguide.xml, dialogTvGuide.xml
    • Window ID: 
    • Related GUI property/control

    XML/Code Samples

    Sample (taken from blue3wide), disabled animations on button:

    <control>
          <description>TvGroup button</description>
          <type>button</type>
          <id>100</id>
          <posX>32</posX>
          <posY>83</posY>
          <width>45</width>
          <height>425</height>
          <textureFocus>small_vbutton_focus.png</textureFocus>
          <textureNoFocus>small_vbutton_nofocus.png</textureNoFocus>
          <label></label>
          <onleft>60</onleft>
          <onright>6</onright>
          <onup>6</onup>
          <ondown>6</ondown>
         <animation effect="zoom" start="100,100" end="100,100" time="0">focus</animation>
         <animation effect="zoom" start="100,100" end="100,100" time="0">unfocus</animation>
        </control>
        <control>
          <description>TvGroup button label</description>
          <type>label</type>
          <id>0</id>
          <posX>70</posX>
          <posY>90</posY>
          <label>#TV.Guide.ChangeGroup</label>
          <font>font12</font>
          <textcolor>FFFFFFFF</textcolor>
          <animation effect="rotate" end="-90" time="0">WindowOpen</animation>
        </control>

    Screenshots

    b3w_sample1.png
     b3w_sample2.png




    Running the latest version?

    V1.7.0 - released April 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners