Skin question (1 Viewer)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,958
    2,197
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    I'm still using an old skin (black glass), but it's getting some warnings, and I want to understand them and possibly fix them.

    example:
    [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Black Glass\myHome.xml' is missing control id 200 (window property: lblDate)

    Can somebody explain to me what is wrong here? Because I do see a date on the homescreen...
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,310
    1,403
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    is missing control id 200 (window property: lblDate)
    The old way of building panels is for the C# function to pre-define certain controls. The skin author can define the properties such as position, size, and colour for the control, but the skin author cannot access the value of the control (this is supplied by the C# function).

    The new way of building panels is for relevant values to be defined as built-in skin variables, which allows the skin author to access the value and use it to control other aspects of the panel.

    Most panels are a mixture of both techniques, as some constructs would be very difficult to define entirely by built-in skin variables (e.g. the list of recorded TV).

    Some older panels diagnose an error if one of the pre-defined controls is missing from the xml file. This is the error that you have noticed. However, it does not necessarily mean that the panel displays wrongly, since the skin author may be using a newer built-in skin variable to provide the information, instead of the pre-defined control.

    The usual way to prevent these error messages to to provide a control definition with the correct properties, but which is positioned off-screen (so that it does not affect the appearance of the panel).

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Similar threads

    Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they can't be seen. What I was hoping to do was create two new buttons in the menubutton style, (dialoglist mode), and alter the relevant OnlineVideos properties. As one is only number of items to display, and...
    Agree totally with the first part of this, my intentions are to move the buttons that I don't like off of the screen where they...
    Good evening everyone, I need some help with skinning buttons for Online Videos. What I am trying to achieve is move the buttons...
    Replies
    2
    Views
    582
    Come on - not interested in another challenge?! ;)
    Come on - not interested in another challenge?! ;)
    The backslash is in the temp path now and the new album thumbnail resolution setting seems to be working. Thank you! (y) Sorry to...
    Replies
    106
    Views
    3K
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-4969] - Fix typo in...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    2K
    Updated one of my MP installations (from 1.15) to 1.24 Final recently. It went perfectly smoothly, and fixed a few problems I had been having with video playback. Updated my plugins and Streamed MP skin, and not a single issue. Thank you for all your hard work.
    Updated one of my MP installations (from 1.15) to 1.24 Final recently. It went perfectly smoothly, and fixed a few problems I had...
    We have just released MediaPortal 1.24 Final Highlights of this release Bugfixes: [MP1-4969] - Fix typo in MyMusic DB Index...
    Replies
    3
    Views
    3K
    буду разбираться. спасибо
    буду разбираться. спасибо
    Обычная ошибка - не могу воспроизвести видео. Кодеки пробовал LAV (установились вместе с 1.16) до этого стояла очень старая версия...
    Replies
    20
    Views
    6K
    Top Bottom