i hope i'm not asking a stupid question. i read somewhere that xbmc supports playing an mp3 on startup. is there a way to make it automatically connect to and play a web radio stream on startup?
many thanks.
Playing web-radio on startup?
edge83
Junior Member Posts: 4 Joined: May 2005 Reputation: 0 |
2005-05-24 14:34
Post: #1
|
| find quote |
Rana
Junior Member Posts: 20 Joined: Jul 2004 Reputation: 0 |
(edge83 @ may 24 2005,13:34 Wrote:i hope i'm not asking a stupid question. i read somewhere that xbmc supports playing an mp3 on startup. is there a way to make it automatically connect to and play a web radio stream on startup?hi, try this one if you like generate a plain textfile named autoexec.py from the script below and copy it to your xbmc script folder.... # [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 = 'q:\\scripts\\shoutcast.pls' pls = xbmc.playlist(0) pls.load(file) player = xbmc.player() player.play(pls) #[script end] grab your favorite station from shoutcast and copy the pls file to the scriptfolder as "shoutcast.pls" restart xbmc and you should get what you asked for ... cu rana |
| find quote |
edge83
Junior Member Posts: 4 Joined: May 2005 Reputation: 0 |
2005-05-26 20:56
Post: #3
:bowdown: thank you so much, you're a star. :bowdown:
|
| find quote |

Search
Help