Forget autoexec.py: the right way to automatically starts addons
#12
lophie Wrote:so if we downloaded the latest how would we implements this?

Here is what I have (XBMC 10.0 "Dharma") on Ubuntu: /home/user/.xbmc/userdata/autoexec.py
Code:
## auto execute scripts when xbmc starts
## note:- use only one script at a time which asks for user input!

import os, xbmc

# create playlists from iTunes playlist file
print "running autoexec.py"
xbmc.executescript('special://home/scripts/myscript.py')
print "finished autoexec.py"

and myscript.py is located in /home/user/.xbmc/scripts

Hope that helps.

V.
Reply


Messages In This Thread
[No subject] - by daledude - 2011-01-31, 23:16
[No subject] - by spiff - 2011-02-01, 12:43
[No subject] - by V-Turn - 2011-02-03, 01:37
[No subject] - by solexalex - 2011-02-05, 21:51
[No subject] - by blinkseb - 2011-02-06, 02:43
[No subject] - by solexalex - 2011-02-06, 13:13
[No subject] - by vikjon0 - 2011-02-13, 19:51
[No subject] - by lophie - 2011-02-24, 21:22
[No subject] - by blinkseb - 2011-02-24, 22:07
[No subject] - by lophie - 2011-02-24, 22:39
[No subject] - by V-Turn - 2011-03-01, 01:13
[No subject] - by Joerg.Liebner - 2011-03-16, 16:51
[No subject] - by spiff - 2011-03-16, 16:56
[No subject] - by cbull - 2011-04-26, 18:45
[No subject] - by malte - 2011-06-02, 11:38
[No subject] - by vikjon0 - 2011-06-04, 13:50
[No subject] - by malte - 2011-06-07, 07:23
[No subject] - by paddycarey - 2011-09-26, 04:45
[No subject] - by Steve Evans - 2011-10-06, 23:29
[No subject] - by _BJ1 - 2011-10-07, 09:41
[No subject] - by queeup - 2011-10-27, 02:42
[No subject] - by LakersFan - 2012-01-28, 00:20
[No subject] - by Martijn - 2012-01-28, 02:28
Logout Mark Read Team Forum Stats Members Help
Forget autoexec.py: the right way to automatically starts addons2