Ticket #4169: mythweather-rainicons.patch
File mythweather-rainicons.patch, 1.8 KB (added by , 16 years ago) |
---|
-
mythweather/mythweather/scripts/bbccurrentxml.pl
146 146 $weather_string =~ /^thundery showers$/i) { 147 147 printf "weather_icon::thunshowers.png\n"; 148 148 } 149 elsif ($weather_string =~ /^light snow$/i || 150 $weather_string =~ /^heavy snow$/i) { 151 printf "weather_icon::thunshowers.png\n"; 149 elsif ($weather_string =~ /^heavy snow$/i) { 150 printf "weather_icon:snowshow.png\n"; 152 151 } 152 elsif ($weather_string =~ /^light snow$/i) { 153 printf "weather_icon::flurries.png\n"; 154 } 155 elsif ($weather_string =~ /^sleet$/i) { 156 printf "weather_icon::rainsnow.png\n"; 157 } 153 158 else { 154 159 printf "weather_icon::unknown.png\n"; 155 160 } -
mythweather/mythweather/scripts/bbcthreedayxml.pl
145 145 $weather_string =~ /^thundery showers$/i) { 146 146 printf "icon-" . $i . "::thunshowers.png\n"; 147 147 } 148 elsif ($weather_string =~ /^light snow$/i || 149 $weather_string =~ /^heavy snow$/i) { 150 printf "icon-" . $i . "::thunshowers.png\n"; 148 elsif ($weather_string =~ /^heavy snow$/i) { 149 printf "icon-" . $i . "::snowshow.png\n"; 151 150 } 151 elsif ($weather_string =~ /^light snow$/i) { 152 printf "icon-" . $i . "::flurries.png\n"; 153 } 154 elsif ($weather_string =~ /^sleet$/i) { 155 printf "icon-" . $i . "::rainsnow.png\n"; 156 } 152 157 else { 153 158 printf "icon-" . $i . "::unknown.png\n"; 154 159 }