2014-09-20, 11:05
Hello,
I use xbmc.getGlobalIdleTime() in a python addon https://github.com/cogano/service.xbmc.c...default.py (see line 115) and wonder why it reports non-zero values when either music or video playback is running. Basically, it gets reset to zero only when I touch the keyboard or mouse.
Is this an expected behaviour of the function? (If so, I would have to use further checks for playback.)
Apart from this add-on, mythtv pvr and youtube video plugin and a few keymaps redefinition (for volume up/down and shutdown), I run a default installation on mythbuntu 14.04 (+ updates) and xbmc ppa (version 2:13.2~git20140817).
I use xbmc.getGlobalIdleTime() in a python addon https://github.com/cogano/service.xbmc.c...default.py (see line 115) and wonder why it reports non-zero values when either music or video playback is running. Basically, it gets reset to zero only when I touch the keyboard or mouse.
Is this an expected behaviour of the function? (If so, I would have to use further checks for playback.)
Apart from this add-on, mythtv pvr and youtube video plugin and a few keymaps redefinition (for volume up/down and shutdown), I run a default installation on mythbuntu 14.04 (+ updates) and xbmc ppa (version 2:13.2~git20140817).