diff --git a/1080i/Includes_Variables.xml b/1080i/Includes_Variables.xml index 5d1f4102..8cb6dfdf 100644 --- a/1080i/Includes_Variables.xml +++ b/1080i/Includes_Variables.xml @@ -160,6 +160,14 @@ $INFO[ListItem.Plot] $LOCALIZE[416] + + $INFO[Skin.String(weatherArtPath)] + special://skin/backgrounds/weather/ + + + $INFO[Skin.String(weatherIconPath)] + weather/ + $INFO[Skin.String(Default.Background)] special://skin/backgrounds/default/default2.jpg @@ -215,10 +223,10 @@ special://skin/backgrounds/Settings.jpg - $INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg] + $VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg $INFO[Skin.String(Weather.Background)] special://skin/backgrounds/Weather.jpg - --> + $INFO[Skin.String(Tv.Background)] special://skin/backgrounds/Tv.jpg @@ -258,7 +266,7 @@ $INFO[Window(Home).Property(script.grab.fanart.TV.FanArt)] $INFO[Window(Home).Property(script.grab.fanart.Video.FanArt)] $INFO[Window(Home).Property(script.grab.fanart.Music.FanArt)] - $INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg] + $VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg $VAR[Videos.Art] $VAR[Movies.Art] $VAR[Pictures.Art] @@ -285,7 +293,7 @@ $INFO[Window(Home).Property(script.grab.fanart.TV.FanArt)] $INFO[Window(Home).Property(script.grab.fanart.Video.FanArt)] $INFO[Window(Home).Property(script.grab.fanart.Music.FanArt)] - $INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg] + $VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg $VAR[Videos.Art] $VAR[Movies.Art] $VAR[Pictures.Art] diff --git a/1080i/Includes_Weather.xml b/1080i/Includes_Weather.xml index 99e796cb..f37f44c0 100644 --- a/1080i/Includes_Weather.xml +++ b/1080i/Includes_Weather.xml @@ -14,8 +14,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day0.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Current.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Current.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Current.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Current.FanartCode)].png $INFO[Window.Property(Day0.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day0.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Current.Condition)] @@ -33,8 +33,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day1.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day1.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day1.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day1.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day1.FanartCode)].png $INFO[Window.Property(Day1.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day1.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day1.Outlook)] @@ -44,8 +44,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day2.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day2.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day2.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day2.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day2.FanartCode)].png $INFO[Window.Property(Day2.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day2.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day2.Outlook)] @@ -55,8 +55,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day3.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day3.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day3.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day3.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day3.FanartCode)].png $INFO[Window.Property(Day3.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day3.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day3.Outlook)] @@ -66,8 +66,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day4.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day4.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day4.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day4.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day4.FanartCode)].png $INFO[Window.Property(Day4.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day4.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day4.Outlook)] @@ -77,8 +77,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day5.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day5.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day5.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day5.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day5.FanartCode)].png $INFO[Window.Property(Day5.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day5.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day5.Outlook)] @@ -88,8 +88,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Day6.Outlook)) + IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Day6.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Day6.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Day6.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Day6.FanartCode)].png $INFO[Window.Property(Day6.HighTemp)]$INFO[System.TemperatureUnits] $INFO[Window.Property(Day6.LowTemp)]$INFO[System.TemperatureUnits] $INFO[Window(Weather).Property(Day6.Outlook)] @@ -100,8 +100,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.1.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.1.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.1.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.1.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.1.FanartCode)].png $INFO[Window.Property(Daily.1.HighTemperature)] $INFO[Window.Property(Daily.1.LowTemperature)] $INFO[Window(Weather).Property(Daily.1.Outlook)] @@ -119,8 +119,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.2.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.2.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.2.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.2.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.2.FanartCode)].png $INFO[Window.Property(Daily.2.HighTemperature)] $INFO[Window.Property(Daily.2.LowTemperature)] $INFO[Window(Weather).Property(Daily.2.Outlook)] @@ -134,8 +134,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.3.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.3.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.3.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.3.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.3.FanartCode)].png $INFO[Window.Property(Daily.3.HighTemperature)] $INFO[Window.Property(Daily.3.LowTemperature)] $INFO[Window(Weather).Property(Daily.3.Outlook)] @@ -149,8 +149,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.4.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.4.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.4.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.4.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.4.FanartCode)].png $INFO[Window.Property(Daily.4.HighTemperature)] $INFO[Window.Property(Daily.4.LowTemperature)] $INFO[Window(Weather).Property(Daily.4.Outlook)] @@ -164,8 +164,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.5.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.5.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.5.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.5.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.5.FanartCode)].png $INFO[Window.Property(Daily.5.HighTemperature)] $INFO[Window.Property(Daily.5.LowTemperature)] $INFO[Window(Weather).Property(Daily.5.Outlook)] @@ -178,8 +178,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.6.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.6.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.6.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.6.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.6.FanartCode)].png $INFO[Window.Property(Daily.6.HighTemperature)] $INFO[Window.Property(Daily.6.LowTemperature)] $INFO[Window(Weather).Property(Daily.6.Outlook)] @@ -192,8 +192,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.7.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.7.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.7.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.7.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.7.FanartCode)].png $INFO[Window.Property(Daily.7.HighTemperature)] $INFO[Window.Property(Daily.7.LowTemperature)] $INFO[Window(Weather).Property(Daily.7.Outlook)] @@ -206,8 +206,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.8.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.8.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.8.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.8.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.8.FanartCode)].png $INFO[Window.Property(Daily.8.HighTemperature)] $INFO[Window.Property(Daily.8.LowTemperature)] $INFO[Window(Weather).Property(Daily.8.Outlook)] @@ -220,8 +220,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.9.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.9.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.9.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.9.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.9.FanartCode)].png $INFO[Window.Property(Daily.9.HighTemperature)] $INFO[Window.Property(Daily.9.LowTemperature)] $INFO[Window(Weather).Property(Daily.9.Outlook)] @@ -234,8 +234,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.10.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.10.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.10.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.10.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.10.FanartCode)].png $INFO[Window.Property(Daily.10.HighTemperature)] $INFO[Window.Property(Daily.10.LowTemperature)] $INFO[Window(Weather).Property(Daily.10.Outlook)] @@ -248,8 +248,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.11.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.11.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.11.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.11.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.11.FanartCode)].png $INFO[Window.Property(Daily.11.HighTemperature)] $INFO[Window.Property(Daily.11.LowTemperature)] $INFO[Window(Weather).Property(Daily.11.Outlook)] @@ -262,8 +262,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.12.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.12.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.12.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.12.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.12.FanartCode)].png $INFO[Window.Property(Daily.12.HighTemperature)] $INFO[Window.Property(Daily.12.LowTemperature)] $INFO[Window(Weather).Property(Daily.12.Outlook)] @@ -276,8 +276,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.13.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.13.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.13.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.13.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.13.FanartCode)].png $INFO[Window.Property(Daily.13.HighTemperature)] $INFO[Window.Property(Daily.13.LowTemperature)] $INFO[Window(Weather).Property(Daily.13.Outlook)] @@ -290,8 +290,8 @@ Skin.String(WeatherType,)|Skin.String(WeatherType,daily) Weather.IsFetched + !IsEmpty(Window.Property(Daily.14.Outlook)) + !IsEmpty(Window.Property(Daily.IsFetched)) - $INFO[Window(Weather).Property(Daily.14.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Daily.14.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Daily.14.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Daily.14.FanartCode)].png $INFO[Window.Property(Daily.14.HighTemperature)] $INFO[Window.Property(Daily.14.LowTemperature)] $INFO[Window(Weather).Property(Daily.14.Outlook)] @@ -305,8 +305,8 @@ Skin.String(WeatherType,36Hour) Weather.IsFetched + !IsEmpty(Window.Property(36Hour.1.Outlook)) + !IsEmpty(Window.Property(36Hour.IsFetched)) - $INFO[Window(Weather).Property(36Hour.1.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(36Hour.1.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(36Hour.1.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(36Hour.1.FanartCode)].png $INFO[Window.Property(36Hour.1.TemperatureHeading)]: $INFO[Window.Property(36Hour.1.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(36Hour.1.FeelsLike)] $INFO[Window(Weather).Property(36Hour.1.Outlook)] @@ -320,8 +320,8 @@ Skin.String(WeatherType,36Hour) Weather.IsFetched + !IsEmpty(Window.Property(36Hour.2.Outlook)) + !IsEmpty(Window.Property(36Hour.IsFetched)) - $INFO[Window(Weather).Property(36Hour.2.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(36Hour.2.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(36Hour.2.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(36Hour.2.FanartCode)].png $INFO[Window.Property(36Hour.2.TemperatureHeading)]: $INFO[Window.Property(36Hour.2.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(36Hour.2.FeelsLike)] $INFO[Window(Weather).Property(36Hour.2.Outlook)] @@ -335,8 +335,8 @@ Skin.String(WeatherType,36Hour) Weather.IsFetched + !IsEmpty(Window.Property(36Hour.3.Outlook)) + !IsEmpty(Window.Property(36Hour.IsFetched)) - $INFO[Window(Weather).Property(36Hour.3.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(36Hour.3.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(36Hour.3.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(36Hour.3.FanartCode)].png $INFO[Window.Property(36Hour.3.TemperatureHeading)]: $INFO[Window.Property(36Hour.3.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(36Hour.3.FeelsLike)] $INFO[Window(Weather).Property(36Hour.3.Outlook)] @@ -351,8 +351,8 @@ Skin.String(WeatherType,Weekend) Weather.IsFetched + !IsEmpty(Window.Property(Weekend.1.Outlook)) + !IsEmpty(Window.Property(Weekend.IsFetched)) - $INFO[Window(Weather).Property(Weekend.1.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Weekend.1.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Weekend.1.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Weekend.1.FanartCode)].png $INFO[Window.Property(Weekend.1.HighTemperature)] $INFO[Window.Property(Weekend.1.LowTemperature)] $INFO[Window(Weather).Property(Weekend.1.Outlook)] @@ -366,8 +366,8 @@ Skin.String(WeatherType,Weekend) Weather.IsFetched + !IsEmpty(Window.Property(Weekend.2.Outlook)) + !IsEmpty(Window.Property(Weekend.IsFetched)) - $INFO[Window(Weather).Property(Weekend.2.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Weekend.2.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Weekend.2.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Weekend.2.FanartCode)].png $INFO[Window.Property(Weekend.2.HighTemperature)] $INFO[Window.Property(Weekend.2.LowTemperature)] $INFO[Window(Weather).Property(Weekend.2.Outlook)] @@ -382,8 +382,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.1.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.1.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.1.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.1.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.1.FanartCode)].png $INFO[Window.Property(Hourly.1.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.1.FeelsLike)] $INFO[Window(Weather).Property(Hourly.1.Outlook)] @@ -397,8 +397,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.2.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.2.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.2.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.2.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.2.FanartCode)].png $INFO[Window.Property(Hourly.2.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.2.FeelsLike)] $INFO[Window(Weather).Property(Hourly.2.Outlook)] @@ -412,8 +412,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.3.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.3.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.3.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.3.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.3.FanartCode)].png $INFO[Window.Property(Hourly.3.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.3.FeelsLike)] $INFO[Window(Weather).Property(Hourly.3.Outlook)] @@ -427,8 +427,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.4.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.4.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.4.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.4.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.4.FanartCode)].png $INFO[Window.Property(Hourly.4.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.4.FeelsLike)] $INFO[Window(Weather).Property(Hourly.4.Outlook)] @@ -442,8 +442,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.5.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.5.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.5.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.5.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.5.FanartCode)].png $INFO[Window.Property(Hourly.5.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.5.FeelsLike)] $INFO[Window(Weather).Property(Hourly.5.Outlook)] @@ -457,8 +457,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.6.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.6.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.6.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.6.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.6.FanartCode)].png $INFO[Window.Property(Hourly.6.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.6.FeelsLike)] $INFO[Window(Weather).Property(Hourly.6.Outlook)] @@ -472,8 +472,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.7.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.7.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.7.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.7.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.7.FanartCode)].png $INFO[Window.Property(Hourly.7.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.7.FeelsLike)] $INFO[Window(Weather).Property(Hourly.7.Outlook)] @@ -487,8 +487,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.8.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.8.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.8.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.8.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.8.FanartCode)].png $INFO[Window.Property(Hourly.8.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.8.FeelsLike)] $INFO[Window(Weather).Property(Hourly.8.Outlook)] @@ -502,8 +502,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.9.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.9.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.9.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.9.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.9.FanartCode)].png $INFO[Window.Property(Hourly.9.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.9.FeelsLike)] $INFO[Window(Weather).Property(Hourly.9.Outlook)] @@ -517,8 +517,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.10.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.10.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.10.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.10.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.10.FanartCode)].png $INFO[Window.Property(Hourly.10.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.10.FeelsLike)] $INFO[Window(Weather).Property(Hourly.10.Outlook)] @@ -532,8 +532,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.11.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.11.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.11.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.11.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.11.FanartCode)].png $INFO[Window.Property(Hourly.11.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.11.FeelsLike)] $INFO[Window(Weather).Property(Hourly.11.Outlook)] @@ -547,8 +547,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.12.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.12.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.12.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.12.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.12.FanartCode)].png $INFO[Window.Property(Hourly.12.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.12.FeelsLike)] $INFO[Window(Weather).Property(Hourly.12.Outlook)] @@ -562,8 +562,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.13.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.13.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.13.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.13.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.13.FanartCode)].png $INFO[Window.Property(Hourly.13.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.13.FeelsLike)] $INFO[Window(Weather).Property(Hourly.13.Outlook)] @@ -577,8 +577,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.14.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.14.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.14.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.14.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.14.FanartCode)].png $INFO[Window.Property(Hourly.14.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.14.FeelsLike)] $INFO[Window(Weather).Property(Hourly.14.Outlook)] @@ -592,8 +592,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.15.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.15.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.15.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.15.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.15.FanartCode)].png $INFO[Window.Property(Hourly.15.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.15.FeelsLike)] $INFO[Window(Weather).Property(Hourly.15.Outlook)] @@ -607,8 +607,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.16.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.16.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.16.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.16.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.16.FanartCode)].png $INFO[Window.Property(Hourly.16.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.16.FeelsLike)] $INFO[Window(Weather).Property(Hourly.16.Outlook)] @@ -622,8 +622,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.17.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.17.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.17.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.17.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.17.FanartCode)].png $INFO[Window.Property(Hourly.17.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.17.FeelsLike)] $INFO[Window(Weather).Property(Hourly.17.Outlook)] @@ -637,8 +637,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.18.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.18.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.18.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.18.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.18.FanartCode)].png $INFO[Window.Property(Hourly.18.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.18.FeelsLike)] $INFO[Window(Weather).Property(Hourly.18.Outlook)] @@ -652,8 +652,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.19.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.19.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.19.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.19.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.19.FanartCode)].png $INFO[Window.Property(Hourly.19.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.19.FeelsLike)] $INFO[Window(Weather).Property(Hourly.19.Outlook)] @@ -667,8 +667,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.20.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.20.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.20.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.20.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.20.FanartCode)].png $INFO[Window.Property(Hourly.20.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.20.FeelsLike)] $INFO[Window(Weather).Property(Hourly.20.Outlook)] @@ -682,8 +682,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.21.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.21.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.21.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.21.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.21.FanartCode)].png $INFO[Window.Property(Hourly.21.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.21.FeelsLike)] $INFO[Window(Weather).Property(Hourly.21.Outlook)] @@ -697,8 +697,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.22.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.22.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.22.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.22.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.22.FanartCode)].png $INFO[Window.Property(Hourly.22.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.22.FeelsLike)] $INFO[Window(Weather).Property(Hourly.22.Outlook)] @@ -712,8 +712,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.23.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.23.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.23.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.23.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.23.FanartCode)].png $INFO[Window.Property(Hourly.23.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.23.FeelsLike)] $INFO[Window(Weather).Property(Hourly.23.Outlook)] @@ -727,8 +727,8 @@ Skin.String(WeatherType,Hourly) Weather.IsFetched + !IsEmpty(Window.Property(Hourly.24.Outlook)) + !IsEmpty(Window.Property(Hourly.IsFetched)) - $INFO[Window(Weather).Property(Hourly.24.FanartCode),special://skin/backgrounds/weather/,.jpg] - $INFO[Window(Weather).Property(Hourly.24.FanartCode),weather/,.png] + $VAR[WeatherFanartPath]$INFO[Window(Weather).Property(Hourly.24.FanartCode)].jpg + $VAR[WeatherIconPath]$INFO[Window(Weather).Property(Hourly.24.FanartCode)].png $INFO[Window.Property(Hourly.24.Temperature)] $LOCALIZE[402]: $INFO[Window.Property(Hourly.24.FeelsLike)] $INFO[Window(Weather).Property(Hourly.24.Outlook)] diff --git a/1080i/SkinSettings.xml b/1080i/SkinSettings.xml index 833d0665..bc523f62 100644 --- a/1080i/SkinSettings.xml +++ b/1080i/SkinSettings.xml @@ -579,6 +579,16 @@ $LOCALIZE[305] Skin.ToggleSetting(Use_Artist_Slideshow) + + + $INFO[Skin.String(weatherArtPath)] + Skin.SetPath(weatherArtPath) + + + + $INFO[Skin.String(weatherIconPath)] + Skin.SetPath(weatherIconPath) + diff --git a/language/English/strings.po b/language/English/strings.po index 982c0690..111e3b7d 100644 --- a/language/English/strings.po +++ b/language/English/strings.po @@ -517,7 +517,15 @@ msgctxt "#31518" msgid "Random Image" msgstr "" -#empty strings from id 31518 to 31900 +msgctxt "#31519" +msgid "Root Folder for Custom Weather Fanarts" +msgstr "" + +msgctxt "#31520" +msgid "Root Folder for Custom Weather Icons" +msgstr "" + +#empty strings from id 31521 to 31900 #Weather plugin msgctxt "#31901" diff --git a/shortcuts/overrides.xml b/shortcuts/overrides.xml index 192d093a..b7661d6b 100644 --- a/shortcuts/overrides.xml +++ b/shortcuts/overrides.xml @@ -14,7 +14,7 @@ special://skin/backgrounds/Clips.jpg special://skin/backgrounds/Concerts.jpg - $INFO[Weather.fanartcode,special://skin/backgrounds/weather/,.jpg] + $VAR[WeatherFanartPath]$INFO[Weather.fanartcode].jpg special://skin/backgrounds/Addons.jpg special://skin/backgrounds/Dvds.jpg special://skin/backgrounds/Settings.jpg