A little pointer where to start (1 Viewer)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    OK I have read the Skin Architecture Wiki and I understand the basics on what needs to go into the XML files.

    I wanted to have a play in changing the TV OSD in XFace to match my needs better. Tried a basic hello world type example but can't get it to work.

    I replaced the original TVOSD.xml file with one just containing
    Code:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <window>
      <id>3003</id>
      <defaultcontrol>213</defaultcontrol>
      <allowoverlay>no</allowoverlay>
      <define>#percentage:#TV.View.Percentage</define>
      <define>#currentplaytime:#TV.View.start</define>
      <define>#currentremaining:#TV.View.stop</define>
      <controls>
        <control>
          <description>background</description>
          <type>image</type>
          <id>0</id>
          <posX>0</posX>
          <posY>500</posY>
          <width>1360</width>
          <height>268</height>
          <texture>osd_bg_bottom.png</texture>
          <animation effect="fade" time="250">visiblechange</animation>
          <animation effect="fade" time="250">windowopen</animation>
        </control>
      </controls>
    </window>
    I was expecting an image to popup when I went into the OSD but nothing happens at all. I have added other controls etc whilst playing around but can't get anything at all to appear.

    What am I missing?
     

    mirk

    Retired Team Member
  • Premium Supporter
  • June 2, 2006
    863
    64
    Växjö, Sweden
    Home Country
    Sweden Sweden
    Most skinfiles need all the orginal controls to be there to work. If you remove a control that is needed by the plugin noting will happen or you get a error message that the skinfile is missing.
    So i would start by modify the orginal TVOSD.xml and change size, place of the diffrent controls and use trile and error to see what can be removed and and not.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Most skinfiles need all the orginal controls to be there to work. If you remove a control that is needed by the plugin noting will happen or you get a error message that the skinfile is missing.
    So i would start by modify the orginal TVOSD.xml and change size, place of the diffrent controls and use trile and error to see what can be removed and and not.

    Ahhhh so I might be better off picking up a file from a skin where I think the OSD is more suited to me needs and getting that to work then. I take it that the required controls for the TV OSD are actually defined in MP but there is no definitive list of what they are?

    Also I note that quite a few controls have a visible element in some of the skin files I have had a look at but the wiki does not mention this element. Is there any documentation of which controls can actually use the visible element?

    I am guessing the answer is trial and error as the existing documentation is a little lacking?
     

    Users who are viewing this thread

    Top Bottom