2014-06-07, 09:55
(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?