- Moderator
- #1
In myvideoFilmstripView.xml (line 191 -> 202) contains som disallowed XML, I think:
This results in the following error in my log:
Fixed by removing the <![CDATA stuff in the visible-condition:
This is with the latest version of the skin installed.
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>
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
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>
This is with the latest version of the skin installed.