[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
(2014-06-06, 21:00)pilluli Wrote:
(2014-06-06, 11:45)schumi2004 Wrote: Can this script also launch scripts/commands on profile switching?

No, as far as I know there is no API to receive a profile switch in xbmc. Regards,

You could sort of hack it.

You could have a member variable which is the translated path of special://profile

In your def _daemon method you could then check whether this has changed, if it has then store the latest value and trigger the profile changed script.

On a different note, given that people seems to be adding code into your script to call XBMC actions, would it be worth adding that ability from with the script itself?
Reply


Messages In This Thread
Great! - by gnorf - 2013-02-27, 22:50
RE: [RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...) - by spoyser - 2014-06-07, 09:55
[RELEASE] Pilulli Revisited - by KenV99 - 2014-06-28, 18:18
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)4