Skip to content

Commit

Permalink
Added option to customize weather icons and fanart.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tgxcorporation committed Apr 27, 2015
1 parent 3122d77 commit 4813168
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 106 deletions.
16 changes: 12 additions & 4 deletions 1080i/Includes_Variables.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@
<value condition="!IsEmpty(ListItem.Plot)">$INFO[ListItem.Plot]</value>
<value>$LOCALIZE[416]</value>
</variable>
<variable name="WeatherFanartPath">
<value condition="!IsEmpty(Skin.String(weatherArtPath))">$INFO[Skin.String(weatherArtPath)]</value>
<value>special://skin/backgrounds/weather/</value>
</variable>
<variable name="WeatherIconPath">
<value condition="!IsEmpty(Skin.String(weatherIconPath))">$INFO[Skin.String(weatherIconPath)]</value>
<value>weather/</value>
</variable>
<variable name="Default.Art">
<value condition="!IsEmpty(Skin.String(Default.Background))">$INFO[Skin.String(Default.Background)]</value>
<value condition="Skin.HasSetting(BlackGlassMode)">special://skin/backgrounds/default/default2.jpg</value>
Expand Down Expand Up @@ -215,10 +223,10 @@
<value>special://skin/backgrounds/Settings.jpg</value>
</variable>
<variable name="Weather.Art">
<value condition="!IsEmpty(Weather.fanartcode)">$INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg]</value>
<value condition="!IsEmpty(Weather.fanartcode)">$VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg</value>
<value condition="!IsEmpty(Skin.String(Weather.Background))">$INFO[Skin.String(Weather.Background)]</value>
<value>special://skin/backgrounds/Weather.jpg</value>
</variable> -->
</variable>
<variable name="Tv.Art">
<value condition="!IsEmpty(Skin.String(Tv.Background))">$INFO[Skin.String(Tv.Background)]</value>
<value>special://skin/backgrounds/Tv.jpg</value>
Expand Down Expand Up @@ -258,7 +266,7 @@
<value condition="StringCompare(Container(300).ListItem.Property(background),tvshowFanart)">$INFO[Window(Home).Property(script.grab.fanart.TV.FanArt)]</value>
<value condition="StringCompare(Container(300).ListItem.Property(background),videoFanart)">$INFO[Window(Home).Property(script.grab.fanart.Video.FanArt)]</value>
<value condition="StringCompare(Container(300).ListItem.Property(background),musicFanart)">$INFO[Window(Home).Property(script.grab.fanart.Music.FanArt)]</value>
<value condition="StringCompare(Container(300).ListItem.Property(background),weatherFanart)">$INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg]</value>
<value condition="StringCompare(Container(300).ListItem.Property(background),weatherFanart)">$VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg</value>
<value condition="StringCompare(Container(300).ListItem.Property(Background),Videos.Art)">$VAR[Videos.Art]</value>
<value condition="StringCompare(Container(300).ListItem.Property(Background),Movies.Art)">$VAR[Movies.Art]</value>
<value condition="StringCompare(Container(300).ListItem.Property(Background),Pictures.Art)">$VAR[Pictures.Art]</value>
Expand All @@ -285,7 +293,7 @@
<value condition="StringCompare(Container(211).ListItem.Property(background),tvshowFanart)">$INFO[Window(Home).Property(script.grab.fanart.TV.FanArt)]</value>
<value condition="StringCompare(Container(211).ListItem.Property(background),videoFanart)">$INFO[Window(Home).Property(script.grab.fanart.Video.FanArt)]</value>
<value condition="StringCompare(Container(211).ListItem.Property(background),musicFanart)">$INFO[Window(Home).Property(script.grab.fanart.Music.FanArt)]</value>
<value condition="StringCompare(Container(211).ListItem.Property(background),weatherFanart)">$INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg]</value>
<value condition="StringCompare(Container(211).ListItem.Property(background),weatherFanart)">$VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg</value>
<value condition="StringCompare(Container(211).ListItem.Property(Background),Videos.Art)">$VAR[Videos.Art]</value>
<value condition="StringCompare(Container(211).ListItem.Property(Background),Movies.Art)">$VAR[Movies.Art]</value>
<value condition="StringCompare(Container(211).ListItem.Property(Background),Pictures.Art)">$VAR[Pictures.Art]</value>
Expand Down

0 comments on commit 4813168

Please sign in to comment.