2007-12-15, 14:23
Hi.
I habe this autoexec.py but it doesn't work
What could be the problem?
brantje
I habe this autoexec.py but it doesn't work
Code:
# [script start]
# this is an autoexec.py scripts for xbmc,
# starts a webradio stream on startup of xbmc
#
# - copy this file to xbmc\scripts folder
# - add a shoutcast pls file named shoutcast.pls
# * *to the xbmc\scripts folder
#
# *
import xbmc
file = 'e:\\Apps\\XBMC\\scripts\\shoutcast.pls'
pls = xbmc.playlist(0)
pls.load(file)
player = xbmc.player()
player.play(pls)
#[script end]
brantje