2007-12-03, 12:31
I can start streaming internetradio-stations by selecting it within XBMC.
I am trying to autorun one of those internetradio streams on XBMC-startup.
The stream is configured on the XBMC at: E:\\Music\\Radio\\Veronica FM.strm
At this moment it is not working, the XBMC is working as before, on startup nothing special is happening. Please can someone give a hint or help me out.
I did the following:
Created the text-file 'veronica.py' and saved it in the above location.
In this file I put the following statements:
import xbmc
file = 'E\\Music\\Radio\\Veronica FM.strm'
xbmc.Player().play(file)
[/LIST]
I am trying to autorun one of those internetradio streams on XBMC-startup.
The stream is configured on the XBMC at: E:\\Music\\Radio\\Veronica FM.strm
At this moment it is not working, the XBMC is working as before, on startup nothing special is happening. Please can someone give a hint or help me out.
I did the following:
- created a text-file called "autoexec.py" and saved it in the directory "Q\\scripts".
In this file I put the following statements:
import xbmc
xbmc.executescript('q:\\scripts\\StartUpMP3\\veronica.py')
Created the text-file 'veronica.py' and saved it in the above location.
In this file I put the following statements:
import xbmc
file = 'E\\Music\\Radio\\Veronica FM.strm'
xbmc.Player().play(file)
[/LIST]