2009-05-01, 20:27
I put together a simple mod for anyone who, like me, finds it weird when scrolling from a movie that has custom fanart to one that doesn't, so you suddenly see a backdrop for a different movie than the one that is currently selected. The code below will make it so that, e.g., the Movies backdrop folder cycles when you are scrolling/browsing through titles, but if you hover on the same movie for a second then the custom fanart will fade in (if the movie has custom fanart - otherwise the backdrops will continue to cycle).
First, open up 720p/MyVideoNav.xml and look for the following block of code:
And replace it with this:
Also, open up 720p/Includes_Animations.xml and look for the following block of code:
And replace it with this:
Enjoy!
First, open up 720p/MyVideoNav.xml and look for the following block of code:
Code:
<control type="largeimage" id="102">
<include>FullscreenDimensions</include>
<visible>[Control.IsVisible(50) | Control.IsVisible(57) | Control.IsVisible(52)] + [[Container.Content(movies) + !Skin.HasSetting(nomoviefanart)] | [Container.Content(tvshows) + !Skin.HasSetting(notvfanart)]] + !IsEmpty(listitem.property(fanart_image)</visible>
<fadetime>1800</fadetime>
<texture>$INFO[listitem.property(fanart_image)]</texture>
<include>Animation_FanartFade</include>
</control>
And replace it with this:
Code:
<control type="largeimage" id="102">
<include>FullscreenDimensions</include>
<visible>[Control.IsVisible(50) | Control.IsVisible(57) | Control.IsVisible(52)] + [[Container.Content(movies) + !Skin.HasSetting(nomoviefanart)] | [Container.Content(tvshows) + !Skin.HasSetting(notvfanart)]] + !IsEmpty(listitem.property(fanart_image)) + [!Container.OnNext + !Container.OnPrevious + !Container.Scrolling]</visible>
<fadetime>1800</fadetime>
<texture>$INFO[listitem.property(fanart_image)]</texture>
<include>Animation_FanartFade</include>
</control>
Also, open up 720p/Includes_Animations.xml and look for the following block of code:
Code:
<include name="Animation_FanartFade">
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="400">Hidden</animation>
<animation effect="fade" time="400">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
</include>
And replace it with this:
Code:
<include name="Animation_FanartFade">
<animation effect="fade" time="400" delay="1800">Visible</animation>
<animation effect="fade" time="400" reversible="false">Hidden</animation>
<animation effect="fade" time="400">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
</include>
Enjoy!