2012-06-07, 18:45
I'd like to start a discussion on some changes for weather that would effect addons.
1. XBMC to not localize anything. I think it's best left for the addon.
2. Have skinners only refer to Window(Weather).Property(<property>) and eliminate all the duplicate code in weather.cpp
3. Have XBMC read 'Locations' and all 'Location#' from addons settings to allow better handling of the location spinner.
4. XBMC send an additional param to addon. ForceRefresh bool. True if user presses refresh button. Allows addon to better handle caching data.
5. Current.OutlookIcon -> Current.ConditionIcon to match what it is.
6. Night#.property same as day#.
7. WeatherProviderIcon property, I guess skinners could use the addons icon, but those are usually modified.
I have some other properties that weather.com supports so maybe have a list here that we should follow.
Any suggestions.
1. XBMC to not localize anything. I think it's best left for the addon.
2. Have skinners only refer to Window(Weather).Property(<property>) and eliminate all the duplicate code in weather.cpp
3. Have XBMC read 'Locations' and all 'Location#' from addons settings to allow better handling of the location spinner.
4. XBMC send an additional param to addon. ForceRefresh bool. True if user presses refresh button. Allows addon to better handle caching data.
5. Current.OutlookIcon -> Current.ConditionIcon to match what it is.
6. Night#.property same as day#.
7. WeatherProviderIcon property, I guess skinners could use the addons icon, but those are usually modified.
I have some other properties that weather.com supports so maybe have a list here that we should follow.
Any suggestions.