Normal
Hi!Im new here, and have installed Mediaportal and been using it for a few weeks now. And now im trying to write my own plugin.The plugin shows up in the main menu, so it must be okei. And I have created a skin from the "Guide". And now i try to load the skin, but it spit out a errormessage: File invalid or missing.Im using VB.NET instead of C#, it shouldn't be any problems there.Im trying to call my skin with: [CODE] Public Overloads Function Init() As Boolean Return Load(GUIGraphicsContext.Skin + "\SearchPlugin.xml") End Function[/CODE]But all i get is the error of invalid file or missing file.The skin file: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?><window> <id>300000</id> <defaultcontrol>2</defaultcontrol> <allowoverlay>yes</allowoverlay> <controls> <control> <description>BackGround</description> <type>image</type> <id>1</id> <posX>0</posX> <posY>0</posY> <width>720</width> <height>576</height> <texture>background.png</texture> </control> <control> <description>an Image</description> <type>image</type> <id>1</id> <posX>75</posX> <posY>370</posY> <texture>hover_my videos.png</texture> </control> <control> <description>text label</description> <type>label</type> <id>1</id> <posX>250</posX> <posY>70</posY> <label>Some text</label> <font>font16</font> <align>right</align> <textcolor>ffffffff</textcolor> </control> <control> <description>Try Me</description> <type>button</type> <id>2</id> <posX>60</posX> <posY>97</posY> <label>Try Me</label> <onleft>2</onleft> <onright>2</onright> <onup>2</onup> <ondown>3</ondown> </control> <control> <description>Or Me</description> <type>button</type> <id>3</id> <posX>60</posX> <posY>131</posY> <label>Or Me</label> <onleft>2</onleft> <onright>2</onright> <onup>2</onup> <ondown>2</ondown> </control> </controls></window>[/CODE]Im using the latest Mediaportal.Any ideas?
Hi!
Im new here, and have installed Mediaportal and been using it for a few weeks now. And now im trying to write my own plugin.
The plugin shows up in the main menu, so it must be okei. And I have created a skin from the "Guide". And now i try to load the skin, but it spit out a errormessage: File invalid or missing.
Im using VB.NET instead of C#, it shouldn't be any problems there.
Im trying to call my skin with: [CODE] Public Overloads Function Init() As Boolean
Return Load(GUIGraphicsContext.Skin + "\SearchPlugin.xml")
End Function[/CODE]
But all i get is the error of invalid file or missing file.
The skin file: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>300000</id>
<defaultcontrol>2</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control>
<description>BackGround</description>
<type>image</type>
<id>1</id>
<posX>0</posX>
<posY>0</posY>
<width>720</width>
<height>576</height>
<texture>background.png</texture>
</control>
<description>an Image</description>
<posX>75</posX>
<posY>370</posY>
<texture>hover_my videos.png</texture>
<description>text label</description>
<type>label</type>
<posX>250</posX>
<posY>70</posY>
<label>Some text</label>
<font>font16</font>
<align>right</align>
<textcolor>ffffffff</textcolor>
<description>Try Me</description>
<type>button</type>
<id>2</id>
<posX>60</posX>
<posY>97</posY>
<label>Try Me</label>
<onleft>2</onleft>
<onright>2</onright>
<onup>2</onup>
<ondown>3</ondown>
<description>Or Me</description>
<id>3</id>
<posY>131</posY>
<label>Or Me</label>
<ondown>2</ondown>
</controls>
</window>[/CODE]
Im using the latest Mediaportal.
Any ideas?