2005-07-18, 00:06
i've taken the startupvideo script a bit further by changing the script to select a playlist composed of music videos, randomize it and play it instead of the default animation that came with the script. for some reason, on only 2 xboxes can i get it running flawlessly but on others, no matter which skin i select, it randomly freezes. i have the least amount of freezes on pmiii while the ce and le versions of pmiii freeze the most often. the script goes as follows:
i do not know if it depends on the xboxes or the bioses/chips, but my personal xboxes through multiple builds of xbmc has had no problems up to date. maybe it could be an issue with the script but i'm not sure. the amount of videos do not seem to matter as with large or small playlists it still randomly freezes. any help or feedback is appreciated.
Quote:import xbmc
file = 'q:\\albums\\playlists\\videos.m3u'
pls = xbmc.playlist(2)
pls.load(file)
pls.shuffle()
xbmc.player().play(pls)
xbmc.executebuiltin('xbmc.activatewindow(0)')
i do not know if it depends on the xboxes or the bioses/chips, but my personal xboxes through multiple builds of xbmc has had no problems up to date. maybe it could be an issue with the script but i'm not sure. the amount of videos do not seem to matter as with large or small playlists it still randomly freezes. any help or feedback is appreciated.