Skip to content

Commit

Permalink
Fix for single Weather fanart
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSiLVO committed Feb 21, 2016
1 parent 630f9ee commit 212c954
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 1080i/IncludesBackgroundBuilding.xml
Expand Up @@ -272,7 +272,7 @@
<control type="multiimage">
<include>FullscreenDimensions</include>
<include>AnimatedBackgroundAnimation</include>
<imagepath background="true">$INFO[Skin.String(weatherfanart.path)]$INFO[Window(Weather).Property(Current.FanartCode)]</imagepath>
<imagepath background="true">$INFO[Skin.String(weatherfanart.path)]$INFO[Window(Weather).Property(Current.FanartCode)]$VAR[WeatherBackgroundTypeVar]</imagepath>
<include condition="StringCompare(Skin.String(FanartTimePerImage),5)">FanartTimePerImage5</include>
<include condition="StringCompare(Skin.String(FanartTimePerImage),6)">FanartTimePerImage6</include>
<include condition="IsEmpty(Skin.String(FanartTimePerImage))">FanartTimePerImage7</include>
Expand Down
4 changes: 4 additions & 0 deletions 1080i/variables.xml
Expand Up @@ -67,6 +67,10 @@
<value condition="Window.IsActive(programs)">SetProperty(Nox.Temp,Apps.Fallback,home)</value>
<value condition="Window.IsActive(pictures)">SetProperty(Nox.Temp,Pictures.Fallback,home)</value>
</variable>
<variable name="WeatherBackgroundTypeVar">
<value condition="Skin.HasSetting(weatherfanart.multi)">/</value>
<value>.jpg</value>
</variable>
<variable name="WeatherCurrentConditionIconVar">
<value condition="!IsEmpty(Skin.String(weathericons.path))">$INFO[Skin.String(weathericons.path)]$INFO[Window(weather).Property(Current.FanartCode),,.png]</value>
<value>$INFO[Window(weather).Property(Current.ConditionIcon)]</value>
Expand Down

0 comments on commit 212c954

Please sign in to comment.