Need help with simple script.. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Need help with simple script.. (/showthread.php?tid=7669) |
- dee_ss - 2004-11-28 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) - dude - 2004-11-29 man, instead of posting the script that worked, you really should have posted the script that didn't work. 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. |