autoexec.pu doesn't work
#1
Hi.
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]
What could be the problem?
brantje
Reply
#2
what's it say in the log
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
autoexec.pu doesn't work0