Restart Service Add-On from Python
#1
Hi there,

I am testing some Service Add-on stuff and I was wondering if it is possible to have another Python Add-on start and stop a service add-on?

Even for debugging purposes it would be nice to have an option to restart an Service add-on from another add-on, so it reflects changes in the python files?

Anybody?
Reply
#2
bump
Reply
#3
To start a service, you can use xbmc.RunPlugin()

To stop it, you'll need to check a custom window property or addon setting in the service's while loop. When you want to kill it, just set the property/setting appropriately from the other addon/script
Reply

Logout Mark Read Team Forum Stats Members Help
Restart Service Add-On from Python0