Reply to thread

In myvideoFilmstripView.xml (line 191 -> 202) contains som disallowed XML, I think:


[CODE]

    <control>

      <type>textbox</type>

      <label>#mpaarating</label>

      <posX>410</posX>

      <posY>365</posY>

      <width>400</width>

      <height>50</height>

      <font>mediastream10</font>

      <visible><![CDATA[facadeview.filmstrip+control.isvisible(4441)+!string.starts(#mpaarating,<)+!string.starts(#mpaarating,unknown)]]></visible>

      <animation effect="fade" time="250">WindowOpen</animation>

      <animation effect="fade" time="250">WindowClose</animation>

    </control>

[/CODE]


This results in the following error in my log:


[CODE]

2011-10-30 22:43:28.115714 [ERROR][MPMain(1)]: GUIWindow:OnWindowLoaded 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\StreamedMP\HeadWeb.xml' control id:4 ex:Et objekt af typen 'MediaPortal.GUI.Library.GUITextControl' kan ikke konverteres til typen 'MediaPortal.GUI.Library.GUIButtonControl'.    ved System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)

   ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)

   ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)

   ved System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)

   ved MediaPortal.GUI.Library.GUIWindow.OnWindowLoaded() HeadWeb.HeadWeb

[/CODE]


Fixed by removing the <![CDATA stuff in the visible-condition:


[CODE]

    <control>

      <type>textbox</type>

      <label>#mpaarating</label>

      <posX>410</posX>

      <posY>365</posY>

      <width>400</width>

      <height>50</height>

      <font>mediastream10</font>

      <visible>facadeview.filmstrip+control.isvisible(4441)+!string.starts(#mpaarating,<)+!string.starts(#mpaarating,unknown)></visible>

      <animation effect="fade" time="250">WindowOpen</animation>

      <animation effect="fade" time="250">WindowClose</animation>

    </control>

[/CODE]


This is with the latest version of the skin installed.


:D


Top Bottom