[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
#32
Yeah, no python installed as it doesn't work from the cli, but how come all my scripts work from within XBMC then? is this something to do with how your plugin works?

list of packages installed.



I wonder if changing your code from using;

subprocess.Popen([script_player_starts,self.playing_type()])

to;

xbmc.executebuiltin('XBMC.RunScript([script_player_starts,self.playing_type()])')

http://wiki.xbmc.org/index.php?title=Bui..._Functions
http://wiki.xbmc.org/index.php?title=Lis..._functions

might fix it, will have a play tonight.

Thx
Matt.
4x ATV2's (v4.3) XBMC Frodo12.2. Raspberry Pi running MYSQL 5.5.31-0+wheezy1. NAS is a Drobo FS
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 matbor - 2013-06-13, 03:52
[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