[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
Hello KenV99,
I'm running Openelec/Kodi on a Intel-NUC with USB-HDDs and think about mirroring/backup my music-data to my NAS.
Your addon seems to me the best tool available for this, but I'm new to Kodi and an absolute python-noob...

So I need some 'kickoff'.
My 1st idea is:
1. If Kodi starts - send a WOL to the NAS (afaik is a function in Kodi)
2. when ready start rsync (client on Kodi, is already installed, server runs on the NAS)
- this should be packed into an shell-script.

Do you think I can get this 'wrapped' into your addon?
And, if yes, will this (as long as its running) prevent Kodi from shutting down if no other action takes place?
( I adjusted Kodi to shutdown after the max. possible 120 min.)

I'm not sure how to mix shell, python and this WOL-call.
If you can point me to some further reading...
Reply


Messages In This Thread
Great! - by gnorf - 2013-02-27, 22:50
[RELEASE] Pilulli Revisited - by KenV99 - 2014-06-28, 18:18
RE: [RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...) - by wolfn48 - 2015-03-28, 14:26
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)4