Posts: 26
Joined: Oct 2012
Reputation:
1
I made a program and I want it to interact with xbmc using a widget.
The problem is, I didn't found any documentations on how to write a widget
any tip on where to start and important stuff I should know?
Maybe someone got a tutorial of some sort?
Thanks
Posts: 793
Joined: Oct 2010
Reputation:
17
You just provide the information in the form of setting arbitrary "properties" on the home window. It's up to the skin to use and display that info, widget or not
Posts: 26
Joined: Oct 2012
Reputation:
1
Sorry but I didn't understand anything you wrote :-)
"setting arbitrary "properties" on the home window"?
Can you please explain in more details?
Can I display the content of a .txt file (for example) using what you said in a widget when my focus is on "TV Shows"?
thanks
Posts: 83
Joined: Feb 2009
Reputation:
0
Can the setProperty be a call to an addon/plugin for example?
Posts: 793
Joined: Oct 2010
Reputation:
17
No, set property just takes two strings, a key and a value. A service can call a plugin or script if needed