I DID NOT WRITE THIS CODE
I DID NOT WRITE THIS CODE
I did however spend an entire evening finding something that worked for me so I thought I would share, hoping it saves some other poor sole some time.
Create a playlist, call it whatever you want, for my example we will call it playlist.m3u
When you do that it will be saved into your XBMC directory under Albums\Playlists
create a autoexec.py that looks like this
import xbmc
xbmc.executescript('q:\\scripts\\autoplay.py')
place it in your XBMC directory under Scripts
create a autoplay.py that looks like this
file = 'q:\\albums\\playlists\\playlist.m3u'
pls = xbmc.PlayList(0)
pls.load(file)
pls.shuffle()
xbmc.Player().play(pls)
place it in your XBMC directory under Scripts
Thats it, I am using the 1-15-05 CVS of XBMC and this is working for me.
I have seen all kinds of things tonight, randomplay.py in french (didnt work for me) a few other startup type scripts, one would play, 1 song, then everything else acted all goofed up. This just worked. Now I can put the damn xbox back in the car and maybe, just maybe the wife will use it alittle more often.
I DID NOT WRITE THIS CODE
I DID NOT WRITE THIS CODE
<