Posts: 346
Joined: Jul 2006
Reputation:
2
matbor,
Make sure of two things:
1. That you can execute the scripts from the command line. So something like "./power.sh" does execute the script.
2. That you write the *entire* path into the script. So if the file "power.sh" is in the folder "/home/user/scripts/" then you write this to the addon:
"/home/user/scripts/power.sh".
It should work like this! Regardsm
Posts: 265
Joined: Sep 2008
Reputation:
2
Applescripts won't get executed.
Bash scripts are working.
Posts: 265
Joined: Sep 2008
Reputation:
2
Could you also add a XBMC Stops action, please?
Posts: 77
Joined: Oct 2008
Reputation:
0
pilluli, can you test something for me? i can not seem to remove/delete the screensaver_off file, although all scripts and permissions are double checked! try ed python script, and bash, and bash triggering the python.. nothing. Can you do it on the rasp? my scripts are working in terminal, paths are full and double checked too.
Posts: 8
Joined: May 2013
Reputation:
0
2013-10-23, 13:57
(This post was last modified: 2013-10-23, 15:18 by hansipi.)
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
Posts: 164
Joined: Apr 2013
Reputation:
0
This is really a great idea, I found it only now.
I'd like to use your addon to intercept a play on a music file and then show a specific window, but mp3 playing must not be stopped-
Is it possible?
How?
Posts: 164
Joined: Apr 2013
Reputation:
0
Thanks.
It could be usefull if I can 'attach' my script to your script programmatically, without user interaction...
Posts: 346
Joined: Jul 2006
Reputation:
2
I guess you could always create the file "settings.xml" in the addon_data folder yourself with the script name and callback. That way there is no need to configure the add on manually.
Regards