2024-10-01, 17:55
Maybe one final question: How would Estuary xml look like if we want to support both your addon and let's say "weather.multi"? Will this end with skin xml having conditions for the different addon ids?
(2024-10-01, 17:50)ksooo Wrote: I'm also missing "%" values for rain likelihood, for example. Instead of 10% I see only 0.1Thanks, that's another "wrong" weather property I've missed ...
$INFO[Window(weather).Property(Hourly.$PARAM[item_index].Precipitation)]
and per definition this means you want to have the amount of rain/snow in mm/inches that falls back to earth. Then there is precipitationprobability what you are referring to, my weather addon provides both values under the correct properties. (see screenshot of my mod here: Screenshot ) And that would be the next workaround if I would provide precipitationprobability under precipitation which again is wrong ... Integer.isGreater/Smaller
on values without units.Quote:I really like your addon, and really do not want to demotivate you, so I will just be quite now. Obviously I was not able to make my point, which mainly is that you should take into account that adapting many skins is definitely more effort than to make one addon (yours) behave like all the other weather addons which would result in no effort for any other addon. You really cannot know how many times the 4 line change needs to be done by different people.That's nice of you, but there really is nothing to worry about.
Quote:Maybe one final question: How would Estuary xml look like if we want to support both your addon and let's say "weather.multi"? Will this end with skin xml having conditions for the different addon ids?No need for conditions. There are multiple solutions for estuary, the safest would be to remove/disable the custom daily.X properties and go back to the already existing DayX approach which all weather addons support.
(2024-10-07, 21:06)cage Wrote: Is there a way to add an entry via the user interface using latitude and longitude? I'm trying to add the North/South Pole but keep getting results for cities and not the geographical poles.No, I don't think such a feature would be useful even for those rare cases.
(2024-10-19, 13:42)Roman_V_M Wrote: Ha, I wanted to make a weather addon for this API myself but you beat me to it.Great, but why did you stop? It's always good to have more or different addon options even if it's using the same API.
Quote:I know little about skinning so I don't know how serious the skin-related issues discussed above are.Again, it's trivial but I think this point has already been discussed and explained enough in my posts above.
Quote:I recommend to submit your addon to the official repo. The thing is that currently we don't have a universal weather addon in our repo.I know, I've already addressed this in another post:
Quote:Regarding requirements to submissions, there are 4 main things ... If your addon complies with this, you'll be fine.Yes, I know and I'm pretty sure it already complies with all of these points.
Quote:We don't enforce any requirements to code design (except, maybe, minimal size of the addon entrypoint script for start-up performance reasons) or style, althouth following commonly accepted Python code style is strongly recommended if you expect contributions from the community. E.g. I noticed that you use tabs for indentations instead of spaces that is unusual for Python coding.What's unusual about that?
Quote:BTW, I noticed that wind speed in the default skin (Estuary, I believe) is displayed in km/h although I selected m/s in settings.Temperature & speed units are handled by KODI's regional settings, make sure you change it there (Expert/Advanced Settings):
(2024-10-20, 09:45)rykios Wrote: Excellent work!Thank you!
(2024-10-20, 18:20)ksooo Wrote: The only concern I have is not that all skins slightly need to be adjusted to be compatible with your add-on, it is more that skins have to implement different code paths to support both your and "all the other" weather add-ons. In fact, there would be two slightly different weather add-on APIs, which I really would like to avoid.
(2024-10-20, 22:31)ksooo Wrote: Sure, but somebody would need to do this, right? Are you volunteering to do this? This would be really appreciated.Sure, I would definitely try to do it but based on your reaction so far and how you see addon/skin issues I'm not sure if it's worth the time because even if I get all weather developers to agree on a common API there will be follow up issues we will most likely not agree on. I mean, there are also inconsistencies in KODIs weather values (e.g. humidity) which would also require fixes but oh boy, I don't want to be a part of that github PR discussion if everybody thinks about these issues the way you do.
Quote:Thank you so much for this. With this you save time of all weather add-on devs and of all skin devs, which in total will sum up to really reasonable amount of time.No need to thank me for that. I still think that ignoring all theses issues for the sake of "compatibility" is a horrible idea but at this point the best and only option for me is to move on.
(2024-10-21, 17:57)ksooo Wrote: Can you please stop putting compatibility in parenthesis? I feel a bit offended by such behavior, to be honest. There is nothing wrong with my use of the word compatibility. If you implement something that violates the existing contract (API) it is correct to be called incompatible. Thank you.Sorry, it was never my intention to offend you.
Quote:best of luck with your add-on.Thank you
v0.9.3 (22/10/2024)
-------------------
* KODI only:
* Changed daily & hourly index to start at 1
* Changed daily LowTemperature and HighTemperature
* Changed the content of precipitation to precipitationprobability
* Added new "precip" window property for the actual precipitation
* Adapted some window properties and values+units from Multi Weather
* Fixed some graph transparency glitches
* Workaround for KODI's DayX.OutlookIcon: Add static path "resource://resource.images.weathericons.default"
* Fixed a rare case of endless geoip lookups if KODI's userdata filesystem is full, read-only or broken
* Disabled "hour.X" window properties by default to improve performance (hardly used by skins)
* Added assets: screenshots & banner