Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Calling script in remote.xml after play pressed issue

$
0
0
Hi all

So I was under the impression that you can add multiple functions to the remote.xml file for each command, play, pause etc. I made the change below but now it's executing the script fine but not performing the preceding function ie play/pause. When I remove the script the play/pause works fine. Any ideas what I'm doing wrong?

Code:
<play>Play</play>
<play>XBMC.RunScript("/home/xbmc/lightsoff.py")</play>
<pause>Pause</pause>
<pause>XBMC.RunScript("/home/xbmc/lightson.py")</pause>

Cheers.

Viewing all articles
Browse latest Browse all 84005

Trending Articles