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 Skins
Popular Skins
Graveyard
MediaStream
MediaStream by pilehave - upd. 22/08/09
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="pilehave" data-source="post: 498992" data-attributes="member: 71550"><p>The biggest advantage is the size of the myHome.xml file. With my plugin I have hardcoded a limit of 25 (as far as i remember) menuitems, but putting so many in there doesn't make the file any bigger as the plugin reads the plugins.</p><p></p><p>The first versions of the skin had a similar generator to StreamedMP but kept filling up memory and working really slow.</p><p></p><p>The plugin puts out two variables, called #bgimage1 and #bgimage2. If you change this:</p><p></p><p>[CODE]</p><p><control></p><p> <description>background image 1</description></p><p> <type>image</type></p><p> <id>501</id></p><p> <posX>0</posX></p><p> <posY>0</posY></p><p> <width>1280</width></p><p> <height>720</height></p><p> <visible>Control.IsVisible(601)</visible></p><p> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation></p><p> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation></p><p> <texture>#bgimage1</texture></p><p></control></p><p></p><p><control></p><p> <description>background image 2</description></p><p> <type>image</type></p><p> <id>502</id></p><p> <posX>0</posX></p><p> <posY>0</posY></p><p> <width>1280</width></p><p> <height>720</height></p><p> <visible>Control.IsVisible(602)</visible></p><p> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation></p><p> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation></p><p> <texture>#bgimage2</texture></p><p></control></p><p>[/CODE]</p><p></p><p> to this:</p><p></p><p>[CODE]</p><p><control></p><p> <description>background image 1</description></p><p> <type>multiimage</type></p><p> <id>501</id></p><p> <posX>0</posX></p><p> <posY>0</posY></p><p> <width>1280</width></p><p> <height>720</height></p><p> <visible>Control.IsVisible(601)</visible></p><p> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation></p><p> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation></p><p> <texture>#homeitem</texture></p><p></control></p><p></p><p><control></p><p> <description>background image 2</description></p><p> <type>multiimage</type></p><p> <id>502</id></p><p> <posX>0</posX></p><p> <posY>0</posY></p><p> <width>1280</width></p><p> <height>720</height></p><p> <visible>Control.IsVisible(602)</visible></p><p> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation></p><p> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation></p><p> <texture>#homeitem</texture></p><p></control></p><p>[/CODE]</p><p></p><p>I think it will work...you will need to name the folders with the backgrounds like you menu-entry. So, if you have</p><p></p><p><span style="font-size: 15px">watch my</span></p><p><span style="font-size: 22px">TV-Series</span></p><p></p><p>then your folder should be TV-Series.</p><p></p><p>I have just formatted and installed windows 7 and forgot to bring Visual Studio so cannot check the code right now. Please let me know if you get it to work or not <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="pilehave, post: 498992, member: 71550"] The biggest advantage is the size of the myHome.xml file. With my plugin I have hardcoded a limit of 25 (as far as i remember) menuitems, but putting so many in there doesn't make the file any bigger as the plugin reads the plugins. The first versions of the skin had a similar generator to StreamedMP but kept filling up memory and working really slow. The plugin puts out two variables, called #bgimage1 and #bgimage2. If you change this: [CODE] <control> <description>background image 1</description> <type>image</type> <id>501</id> <posX>0</posX> <posY>0</posY> <width>1280</width> <height>720</height> <visible>Control.IsVisible(601)</visible> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation> <texture>#bgimage1</texture> </control> <control> <description>background image 2</description> <type>image</type> <id>502</id> <posX>0</posX> <posY>0</posY> <width>1280</width> <height>720</height> <visible>Control.IsVisible(602)</visible> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation> <texture>#bgimage2</texture> </control> [/CODE] to this: [CODE] <control> <description>background image 1</description> <type>multiimage</type> <id>501</id> <posX>0</posX> <posY>0</posY> <width>1280</width> <height>720</height> <visible>Control.IsVisible(601)</visible> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation> <texture>#homeitem</texture> </control> <control> <description>background image 2</description> <type>multiimage</type> <id>502</id> <posX>0</posX> <posY>0</posY> <width>1280</width> <height>720</height> <visible>Control.IsVisible(602)</visible> <animation effect="fade" start="0" end="100" delay="200" time="350">visible</animation> <animation effect="fade" start="100" end="0" delay="200" time="350">hidden</animation> <texture>#homeitem</texture> </control> [/CODE] I think it will work...you will need to name the folders with the backgrounds like you menu-entry. So, if you have [SIZE="4"]watch my[/SIZE] [SIZE="6"]TV-Series[/SIZE] then your folder should be TV-Series. I have just formatted and installed windows 7 and forgot to bring Visual Studio so cannot check the code right now. Please let me know if you get it to work or not :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
Graveyard
MediaStream
MediaStream by pilehave - upd. 22/08/09
Contact us
RSS
Top
Bottom