2017-07-11, 16:15
Hi,
Im trying to work out the best way of building a list populated by dynamica content.
I have a Python Service in XBMC which is monitoring and storing data in a SQLITE database. I want to launch a new Window based on an existing skin and then load the data from the database into the list.
It seems somewhat bizarre to me that you have a skinning system and a python add on system that almost run side by side. I can create a custom window through skinning and launch it from ActivateWindow(id) which seems perfectly fine and natural. But it's not a program and will do nothing. There's no data.
What is the best way of doing this? Will I need to run a program instead?
I presume I either need to do RunAddon, or RunPlugin and draw the screen manually?
Or could I potentially still do an ActivateWindow(id) and then have an <onfocus> element to Run the Addon?
Simon
Im trying to work out the best way of building a list populated by dynamica content.
I have a Python Service in XBMC which is monitoring and storing data in a SQLITE database. I want to launch a new Window based on an existing skin and then load the data from the database into the list.
It seems somewhat bizarre to me that you have a skinning system and a python add on system that almost run side by side. I can create a custom window through skinning and launch it from ActivateWindow(id) which seems perfectly fine and natural. But it's not a program and will do nothing. There's no data.
What is the best way of doing this? Will I need to run a program instead?
I presume I either need to do RunAddon, or RunPlugin and draw the screen manually?
Or could I potentially still do an ActivateWindow(id) and then have an <onfocus> element to Run the Addon?
Simon