Sharing information between existing addons
#1
I'm very new to Kodi development. For the add-on I'm working on, I need to get weather information for the user. Is it possible to share information between addons in general? An specifically, would it be possible to poll the weather addon (if configured) and get current weather conditions?

Any help or pointers to the relevant docs is greatly appreciated.
Reply
#2
(2016-04-21, 00:39)davidha Wrote: I'm very new to Kodi development. For the add-on I'm working on, I need to get weather information for the user. Is it possible to share information between addons in general? An specifically, would it be possible to poll the weather addon (if configured) and get current weather conditions?

Any help or pointers to the relevant docs is greatly appreciated.

If you are only interested in weather info, it's already built into kodi : http://kodi.wiki/view/InfoLabels#Weather_labels

In general you can use custom properties to share info between plugins : http://mirrors.xbmc.org/docs/python-docs...etProperty
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
Sharing information between existing addons0