2005-12-18, 16:56
lo,
spent the afternoon updating a 6 month old script i made to play web streams coz the pages now require an identification so i had to take steps to get that web authentication out of the way..
cachedhttp does the trick beautifully but then launching the streams makes xbmc crash almost 9/10 times
actually i only managed to see a stream play only once, so my script is still working i guess..
i updated my xbmc to the latest t3ch release from december and i wanted to know if there were some serious changes with the way xbmc handles streams launched from python script and so on..
in cas you wonder self.player is set as follows :
self.player = xbmc.player()
after noticing those crashes i wrapped the play() command inside a try: but it keeps crashing so i guess the problem occurs at a higer level than the python script itself..
i'm not sure where i can get some debug info from xbmc itself..
in order to see what was actually going on when the stream starts, i traced the packets being transmitted to/from the xbox host on my router and i can actually see a few (15) packets being sent from the streaming server to the xbox and then it stops as soon as xbmc crashes..
any ideas what could go wrong ?
thx for updating me if i missed something important, it'll save me some time reading not so relevant stuff here and there..
.dvbm
spent the afternoon updating a 6 month old script i made to play web streams coz the pages now require an identification so i had to take steps to get that web authentication out of the way..
cachedhttp does the trick beautifully but then launching the streams makes xbmc crash almost 9/10 times
actually i only managed to see a stream play only once, so my script is still working i guess..
i updated my xbmc to the latest t3ch release from december and i wanted to know if there were some serious changes with the way xbmc handles streams launched from python script and so on..
Quote: print('playing: '+url)
try:
self.player.play(url)
except:
print('media url error !')
printlasterror()
in cas you wonder self.player is set as follows :
self.player = xbmc.player()
after noticing those crashes i wrapped the play() command inside a try: but it keeps crashing so i guess the problem occurs at a higer level than the python script itself..
i'm not sure where i can get some debug info from xbmc itself..
in order to see what was actually going on when the stream starts, i traced the packets being transmitted to/from the xbox host on my router and i can actually see a few (15) packets being sent from the streaming server to the xbox and then it stops as soon as xbmc crashes..
any ideas what could go wrong ?
thx for updating me if i missed something important, it'll save me some time reading not so relevant stuff here and there..
.dvbm