Kodi Community Forum

Full Version: [Live]Execute Pearl an Phyton Script on Startup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello @ all,

i'm currently trying to start a phyton an a peal script at startup.
I tried to write them in /home/thstorm/.xbmc/userdate/autoexec.py but this didn't work

The scripts are located in:
/home/thstorm/PascalW-Airplayer/airplayer/airplayer.py
and
/home/thstorm/albertz-shairport/shairport.pl

Anyone got any Ideas how to get them working on Startup?


I'm using the newest Version of XBMC Live.
I guess those scripts are not xbmc plugins right? then you can just use a normal init script.
Or if you do not care about them being stopped properly on shutdown, just put your 2 lines in /etc/rc.local

BTW, make sure you have specified the correct interpreter in your scripts, otherwise you need to start them with
/usr/bin/python /home/thstorm/PascalW-Airplayer/airplayer/airplayer.py
/usr/bin/perl /home/thstorm/albertz-shairport/shairport.pl
You are right these script are no official add-ons.

I folloewd these guides to install them:
http://htpcbuild.wordpress.com/2011/03/0...live-htpc/
http://htpcbuild.wordpress.com/2011/05/2...o-as-well/

I will try putting the lines in etc/rc.local