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
Building a skin from scratch - a tour -
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="mbuzina" data-source="post: 1006079" data-attributes="member: 12382"><p>I have (some) fanart, random works - but I do not see any artwork for selected. I checked if the control controls change visibility, and they don't - both selected are visible, available is invisible, expressions are empty.</p><p> </p><p>I use the following, mymusicsongs.xml:</p><p>[CODE=XML]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> <id>504</id></p><p> <defaultcontrol>50</defaultcontrol></p><p> <allowoverlay>no</allowoverlay></p><p> <disabletopbar>no</disabletopbar></p><p> <rememberLastFocusedControl>yes</rememberLastFocusedControl></p><p> </p><p> <define>#useSelectedFanart:Yes</define></p><p> </p><p> <define>#header.label:#currentmodule</define></p><p> </p><p><controls></p><p> <include>common.background.default.xml</include></p><p> <include>mymusic.background.xml</include></p><p> <include>mymusic.common.hiddenMenu.xml</include></p><p> </p><p><!-- a lot of code --></p><p> </p><p></controls></p><p></window>[/CODE]</p><p>mymusic.background.xml (I put in the labels to allow me to see the mechanism in action, kind of debugging. The hiddenGroupStyle is a StackLayout that moves everything to x=2000 out of view):</p><p>[CODE=XML]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> <controls> </p><p> <control Style="hiddenGroupStyle"></p><p> <type>group</type></p><p> <!--<posX>200</posX></p><p> <posY>200</posY>--></p><p> <control Style="hiddenStyle"></p><p> <description>DUMMY CONTROL FOR RANDOM FANART 1 VISIBILITY CONDITION</description></p><p> <type>label</type></p><p> <id>91919297</id></p><p> <label>Random FA 1 Visible (#fanarthandler.music.scraper.backdrop1.any)</label></p><p> <width>600</width></p><p> </control></p><p> <control Style="hiddenStyle"></p><p> <description>DUMMY CONTROL FOR RANDOM FANART 2 VISIBILITY CONDITION</description></p><p> <type>label</type></p><p> <id>91919298</id></p><p> <label>Random FA 2 Visible (#fanarthandler.music.scraper.backdrop1.any)</label></p><p> <width>600</width></p><p> </control></p><p> <control Style="hiddenStyle"></p><p> <description>DUMMY CONTROL FOR SELECTED FANART 1 VISIBILITY CONDITION</description></p><p> <type>label</type></p><p> <id>91919291</id></p><p> <label>1#fanarthandler.music.backdrop1.selected1</label></p><p> </control></p><p> <control Style="hiddenStyle"></p><p> <description>DUMMY CONTROL FOR SELECTED FANART 2 VISIBILITY CONDITION</description></p><p> <type>label</type></p><p> <id>91919292</id></p><p> <width>300</width></p><p> <height>30</height></p><p> <font>labelFont</font></p><p> <textcolor>FFFF3333</textcolor></p><p> <label>2#fanarthandler.music.backdrop2.selected2</label></p><p> <visible>true</visible></p><p> </control></p><p> <control Style="hiddenStyle"></p><p> <description>DUMMY CONTROL FOR SELECTED FANART AVAILABILITY CONDITION</description></p><p> <type>label</type></p><p> <id>91919293</id></p><p> <label>Selected is Available</label></p><p> </control></p><p> </control></p><p> </p><p> <control Style="backdropStyle"></p><p> <description>Default Background</description></p><p> <type>image</type></p><p> <texture>hover_my music.png</texture></p><p> <!--<texture>white.png</texture>--></p><p> <visible>true</visible> </p><p> </control></p><p> <control Style="backdropStyle"></p><p> <description>Selected Background 1</description></p><p> <type>image</type></p><p> <texture>#fanarthandler.music.backdrop1.selected</texture></p><p> <visible>control.isvisible(91919291)+control.isivisble(91919293)</visible> </p><p> </control></p><p> <control Style="backdropStyle"></p><p> <description>Selected Background 2</description></p><p> <type>image</type></p><p> <texture>#fanarthandler.music.backdrop2.selected</texture></p><p> <visible>control.isvisible(91919292)+control.isivisble(91919293)</visible> </p><p> </control></p><p> </controls></p><p></window>[/CODE]</p></blockquote><p></p>
[QUOTE="mbuzina, post: 1006079, member: 12382"] I have (some) fanart, random works - but I do not see any artwork for selected. I checked if the control controls change visibility, and they don't - both selected are visible, available is invisible, expressions are empty. I use the following, mymusicsongs.xml: [CODE=XML]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> <id>504</id> <defaultcontrol>50</defaultcontrol> <allowoverlay>no</allowoverlay> <disabletopbar>no</disabletopbar> <rememberLastFocusedControl>yes</rememberLastFocusedControl> <define>#useSelectedFanart:Yes</define> <define>#header.label:#currentmodule</define> <controls> <include>common.background.default.xml</include> <include>mymusic.background.xml</include> <include>mymusic.common.hiddenMenu.xml</include> <!-- a lot of code --> </controls> </window>[/CODE] mymusic.background.xml (I put in the labels to allow me to see the mechanism in action, kind of debugging. The hiddenGroupStyle is a StackLayout that moves everything to x=2000 out of view): [CODE=XML]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> <controls> <control Style="hiddenGroupStyle"> <type>group</type> <!--<posX>200</posX> <posY>200</posY>--> <control Style="hiddenStyle"> <description>DUMMY CONTROL FOR RANDOM FANART 1 VISIBILITY CONDITION</description> <type>label</type> <id>91919297</id> <label>Random FA 1 Visible (#fanarthandler.music.scraper.backdrop1.any)</label> <width>600</width> </control> <control Style="hiddenStyle"> <description>DUMMY CONTROL FOR RANDOM FANART 2 VISIBILITY CONDITION</description> <type>label</type> <id>91919298</id> <label>Random FA 2 Visible (#fanarthandler.music.scraper.backdrop1.any)</label> <width>600</width> </control> <control Style="hiddenStyle"> <description>DUMMY CONTROL FOR SELECTED FANART 1 VISIBILITY CONDITION</description> <type>label</type> <id>91919291</id> <label>1#fanarthandler.music.backdrop1.selected1</label> </control> <control Style="hiddenStyle"> <description>DUMMY CONTROL FOR SELECTED FANART 2 VISIBILITY CONDITION</description> <type>label</type> <id>91919292</id> <width>300</width> <height>30</height> <font>labelFont</font> <textcolor>FFFF3333</textcolor> <label>2#fanarthandler.music.backdrop2.selected2</label> <visible>true</visible> </control> <control Style="hiddenStyle"> <description>DUMMY CONTROL FOR SELECTED FANART AVAILABILITY CONDITION</description> <type>label</type> <id>91919293</id> <label>Selected is Available</label> </control> </control> <control Style="backdropStyle"> <description>Default Background</description> <type>image</type> <texture>hover_my music.png</texture> <!--<texture>white.png</texture>--> <visible>true</visible> </control> <control Style="backdropStyle"> <description>Selected Background 1</description> <type>image</type> <texture>#fanarthandler.music.backdrop1.selected</texture> <visible>control.isvisible(91919291)+control.isivisble(91919293)</visible> </control> <control Style="backdropStyle"> <description>Selected Background 2</description> <type>image</type> <texture>#fanarthandler.music.backdrop2.selected</texture> <visible>control.isvisible(91919292)+control.isivisble(91919293)</visible> </control> </controls> </window>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
Top
Bottom