[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
#27
Are the scripts specified by setting value="/path/to/my/script" in the resources/settings.xml file (as described here)?

My file is as follows...and the addon loads...but no scripts are logged. Any ideas?

settings.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<settings>
    <category label="32000">.
      <setting label="32010" type="executable" id="xbmc_starts"/>
      <setting label="32012" type="executable" id="player_starts" value="/home/pi/test.py"/>
      <setting label="32013" type="executable" id="player_stops"/>
      <setting label="32014" type="executable" id="player_pauses"/>
      <setting label="32015" type="executable" id="player_resumes"/>
      <setting label="32016" type="executable" id="screensaver_starts"/>
      <setting label="32017" type="executable" id="screensaver_stops"/>
      <setting label="32018" type="executable" id="xbmc_idle"/>
      <setting label="32019" type="slider" id="idle_time" default="10" range="1,1,60" option="int" />
    </category>
</settings>

xbmc.log
Code:
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script version 0.2 started
23:29:36 T:2929574976   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xb3f00860
23:29:36 T:2955805760   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
23:29:36 T:2955805760   DEBUG: CecLogMessage - >> POLL not sent
23:29:36 T:2938229824    INFO: Python script stopped
23:29:36 T:2938229824   DEBUG: Thread XBPyThread 2938229824 terminating
23:29:36 T:2929574976   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xb3f00860
23:29:36 T:2929574976   DEBUG: XBMC callbacks: Reading properties
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script xbmc starts = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script player starts = ""
23:29:36 T:2921186368  NOTICE:  StorageServer Module loaded RUN
23:29:36 T:2921186368  NOTICE: StorageClient-2.5.0 Starting server
23:29:36 T:2921186368  NOTICE: StorageServer-2.5.0 Storage Server starting /home/pi/.xbmc/userdata/addon_data/script.common.plugin.cache/commoncache.db
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script player stops = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script player pauses = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script player resumes = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script screensaver starts = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script screensaver stops = ""
23:29:36 T:2929574976   DEBUG: XBMC callbacks: script idle = ""
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 ajoburg - 2013-05-25, 08:41
[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