Posts: 507
Joined: Nov 2013
Reputation:
28
LuffarJoh:
Download the latest enter a user and password in an HTTP task in the settings and see if it works for you. It seems to be working for me.
Posts: 265
Joined: Sep 2008
Reputation:
2
Is it possible to add an event for quit Kodi? There's one for shutdown but i'd need to run a script on exiting Kodi.
Posts: 77
Joined: Jun 2014
Reputation:
0
2016-01-24, 18:29
(This post was last modified: 2016-01-24, 19:18 by xbmosx.)
cool plugin - thanks a lot for sharing.
forgive me if this is a stupid question, but I'm really not a coder. I setup a bash script that sends a remote applescript to another machine on the network that is controlling some smart appliances in the house. Now everything works absolutely great so far. The problem is, that I cannot find a way to make a distinction between video and audio playback for the OnPlayBack events. I suppose it has to do with the variable substitution but I couldn't figure out how to use it.
I tried to pass %mt and pick it up in the script as $mt, if $mt was not "music" it should ignore the commands -> as you can guess that didn't work the way I hoped for.
can someone point me into the right direction please. while it is cool to dim down the lights when a movie starts, it's quite annoying if it does the same while I'm playing the hottest tunes for our dinner guests :-)
Posts: 77
Joined: Jun 2014
Reputation:
0
Thanks KenV99 I was able to make it work with your instructions. Very cool.
Posts: 8
Joined: Dec 2015
Reputation:
3
2016-01-28, 00:08
(This post was last modified: 2016-01-28, 00:22 by AvanOsch.)
Thanks for a great plugin Ken.
I want to run a command that normally requires "sudo".
How would I go about doing that?
Thanks for your reply!
P.S.
The version I downloaded still had the "debug = True", causing a (pydevd) import error.
-EDIT-
Maybe you could add a check for the files "pycharm-debug.py3k" and "pycharm-debug.egg", so debug gets skipped if those don't exist...