home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Get this error: File invalid or missing.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FreddeMannen" data-source="post: 180676" data-attributes="member: 56452"><p>Hi!</p><p></p><p>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. </p><p></p><p>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. </p><p></p><p>Im using VB.NET instead of C#, it shouldn't be any problems there. </p><p></p><p>Im trying to call my skin with: [CODE] Public Overloads Function Init() As Boolean</p><p> Return Load(GUIGraphicsContext.Skin + "\SearchPlugin.xml")</p><p> End Function[/CODE]</p><p></p><p>But all i get is the error of invalid file or missing file. </p><p></p><p>The skin file: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> <id>300000</id></p><p> <defaultcontrol>2</defaultcontrol></p><p> <allowoverlay>yes</allowoverlay></p><p> <controls></p><p> </p><p> <control></p><p> <description>BackGround</description></p><p> <type>image</type></p><p> <id>1</id></p><p> <posX>0</posX></p><p> <posY>0</posY></p><p> <width>720</width></p><p> <height>576</height></p><p> <texture>background.png</texture></p><p> </control></p><p> </p><p> <control></p><p> <description>an Image</description></p><p> <type>image</type></p><p> <id>1</id></p><p> <posX>75</posX></p><p> <posY>370</posY></p><p> <texture>hover_my videos.png</texture></p><p> </control></p><p> </p><p> <control></p><p> <description>text label</description></p><p> <type>label</type></p><p> <id>1</id></p><p> <posX>250</posX></p><p> <posY>70</posY></p><p> <label>Some text</label></p><p> <font>font16</font></p><p> <align>right</align></p><p> <textcolor>ffffffff</textcolor></p><p> </control></p><p> </p><p> <control></p><p> <description>Try Me</description></p><p> <type>button</type></p><p> <id>2</id></p><p> <posX>60</posX></p><p> <posY>97</posY></p><p> <label>Try Me</label></p><p> <onleft>2</onleft></p><p> <onright>2</onright></p><p> <onup>2</onup></p><p> <ondown>3</ondown></p><p> </control></p><p> </p><p> <control></p><p> <description>Or Me</description></p><p> <type>button</type></p><p> <id>3</id></p><p> <posX>60</posX></p><p> <posY>131</posY></p><p> <label>Or Me</label></p><p> <onleft>2</onleft></p><p> <onright>2</onright></p><p> <onup>2</onup></p><p> <ondown>2</ondown></p><p> </control></p><p> </p><p> </controls></p><p></window>[/CODE]</p><p></p><p>Im using the latest Mediaportal. </p><p></p><p>Any ideas?</p></blockquote><p></p>
[QUOTE="FreddeMannen, post: 180676, member: 56452"] 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? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Get this error: File invalid or missing.
Contact us
RSS
Top
Bottom