[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
#30
my settings.xml

my xbmc_play.py (which I changed to look like yours)

my original xbmc_stop.py (I later added the test_stop.py script to the this)

my test_stop.py script<-- This just writes to the xbmc.log file with a print statement does nothing else. (PRINTs "XBMC TEST STOP SCRIPT" to the xbmc.log file when run)

my file permissions (note, haven't done them all)

my xbmc log file

The logfile;
@21:52:41 T:150085632; I manually run the script 'test_stop.py' from within XBMC's file manager and it works fine.

@21:53:16 T:105340928; you can see where I kicked off a video and it calls the xbmc_play.py file but doesn't do anything.

@21:53:23 T:105340928; you can see here that I stopped the video and it again calls the test_stop.py file but again doesn't do anything. (it is only meant to write to the logfile )

Couple of notes.
* All the scripts that I have written work fine from within the xbmc file manager.
* I can't run any python script from the commandline (via SSH), but I think that is because I use ATV2's (correct me if i'm wrong here)

Hope this helps!
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-12, 14:40
[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