Provider icons for weather addons
I have proposition to add support for weather provider icon packs.

For example, the Gismeteo provider has its own set of weather icons with 119 icons for different conditions. Icon names are generated as follows: [day|night|]_[cloudiness](0-3)_[rain][snow](0-3)_[storm]. I want use all of them, instead of the default icons list.

My proposition:
1. Create icon pack with provider icons. This package will be with the new type "weatherprovidericons", so it will not conflict with standard weather icon packs.
2. In the weather information, add the new "ProviderIcon" property, where will be a full path to the icon. For my example, is: "resource://resource.images.weatherprovidericons.gismeteo/d.c2.r1.png"
3. Change skins to support new property. Use provider icon, if it's defined, else the default icon is Kodi.

This solution will maintain compatibility with the default algorithm and improve additional support for provider icons.
Here is an example of resource package: resource.images.weatherprovidericons.gismeteo
Here are the necessary changes to the skin based on the "Confluence" skin: differences

What do you think about this?
My addons: Gismeteo
Added example for Estuary: differences
Gismeteo addon with support of provider icons can be installed from my repository
My addons: Gismeteo

Logout Mark Read Team Forum Stats Members Help
Provider icons for weather addons0
This forum uses Lukasz Tkacz MyBB addons.