2013-12-18, 13:04
Hello,
I'm trying to write a python script that updates sources.xml and then updates on the interface.
I have gotten the sources.xml edit part to work, but the XBMC interface won't pick up on the new source unless I restart XBMC. Once restarted it will then reload the sources.xml file and show the updated options in the UI.
I know you can "add source" with the context menu, but I would like to do this programatically in python and also for it to be picked up on the UI without a restart of XBMC. If you add a source through the context menu, the UI does update the source list without a restart, so reloading the sources.xml file must be possible without a restart. I just need help on figuring out how to do this.
I've tried unloading/reloading the skin as a long shot, but that didn't work either. Can anyone help?
Thanks!
I'm trying to write a python script that updates sources.xml and then updates on the interface.
I have gotten the sources.xml edit part to work, but the XBMC interface won't pick up on the new source unless I restart XBMC. Once restarted it will then reload the sources.xml file and show the updated options in the UI.
I know you can "add source" with the context menu, but I would like to do this programatically in python and also for it to be picked up on the UI without a restart of XBMC. If you add a source through the context menu, the UI does update the source list without a restart, so reloading the sources.xml file must be possible without a restart. I just need help on figuring out how to do this.
I've tried unloading/reloading the skin as a long shot, but that didn't work either. Can anyone help?
Thanks!