[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
#55
(2013-10-23, 13:57)hansipi Wrote: Great script!! Pillulli, works good for me. One request or how to question i do have. Hope someone can help.
The player actions work for both video and audio. I would like to know how i can use it just for video.

Ahhh found it myself..... type=music

Yes, I was too late to answer... Smile

I use something like this in my scripts (python) to execute only for videos (not music):

Code:
#!/usr/bin/env python

if not 'music' in sys.argv[1]:
    # Do something
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 pilluli - 2013-10-23, 15: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