Need help with simple script..
#1
ok, i have this script set to autoexecute at startup. it works, but if i try to play any other music file (on my hd or music stream) xbmc locks up. very strange. i just threw this script together from parts of another script, must it have something wrong...


import xbmc

file = 'shout://64.236.34.97:80/stream/1071'
player = xbmc.player()
player.play(file)
Reply
#2
Smile 
man, instead of posting the script that worked, you really should have posted the script that didn't work.  Huh

based on my own initial mistakes, i'll take a shot at it anyway: you are aware that you need double backslashes in normal python string literals?

i.e. it should be

"c:\\blockflutetunes.mp3"

and not

"c:\blockflutetunes.mp3"

otherwise, i just don't know.   Confused
Reply

Logout Mark Read Team Forum Stats Members Help
Need help with simple script..0