Hi,
I want to enable extrafanart with skin settings.
I have this :
And my variable :
Extrafanarts working when I enable my setting but when there is no extrafanart for a media, there is no fanart.
I want (when my setting is enable) show extrafanarts when are available and show classic fanart when no extrafanart is available.
Any idea what's wrong ?
I want to enable extrafanart with skin settings.
I have this :
Code:
<control type="image">
<depth>DepthBackground</depth>
<include>FullScreenDimensions</include>
<aspectratio>scale</aspectratio>
<fadetime>400</fadetime>
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
<animation effect="fade" time="400">VisibleChange</animation>
<texture background="true" colordiffuse="$VAR[Background_Opacity]">$VAR[MediaFanartVar]</texture>
<visible>!Player.HasMedia | !String.IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))</visible>
<visible>String.IsEmpty(ListItem.Path,,extrafanart)</visible>
</control>
<control type="multiimage">
<depth>DepthBackground</depth>
<include>FullScreenDimensions</include>
<aspectratio>scale</aspectratio>
<fadetime>400</fadetime>
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
<animation effect="fade" time="400">VisibleChange</animation>
<imagepath background="true" colordiffuse="$VAR[Background_Opacity]">$INFO[ListItem.Path]extrafanart/</imagepath>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<visible>Skin.HasSetting(enable_extrafanarts) + !String.IsEmpty(ListItem.Path,,extrafanart)</visible>
</control>
And my variable :
Code:
<variable name="MediaFanartVar">
<value condition="Skin.HasSetting(no_fanart)">$VAR[GlobalFanartVar]</value>
<value condition="Window.IsActive(musicinformation) | Window.IsActive(movieinformation) | Window.IsActive(addoninformation) | Window.IsActive(pvrguideinfo) | Window.IsActive(pvrrecordinginfo) | Window.IsActive(pictureinfo) | Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml) | Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml) | Window.IsVisible(script-ExtendedInfo Script-VideoList.xml)">$INFO[Window(home).Property(infobackground)]</value>
<value condition="!String.IsEmpty(Window(home).Property(infobackground))">$INFO[Window(home).Property(infobackground)]</value>
<value condition="Window.IsActive(pictures) + IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.FolderPath]</value>
<value condition="!String.IsEmpty(Container.Art(tvshow.fanart))">$INFO[Container.Art(tvshow.fanart)]</value>
<value condition="!String.IsEmpty(Container.Art(artist.fanart))">$INFO[Container.Art(artist.fanart)]</value>
<value condition="!String.IsEmpty(Container.Art(fanart))">$INFO[Container.Art(fanart)]</value>
<value>$INFO[ListItem.Art(fanart)]</value>
</variable>
Extrafanarts working when I enable my setting but when there is no extrafanart for a media, there is no fanart.
I want (when my setting is enable) show extrafanarts when are available and show classic fanart when no extrafanart is available.
Any idea what's wrong ?