PDA

View Full Version : onPlayBackStopped triggered when user skips to next video (+2 more questions)


rwparris2
2008-12-05, 09:05
When a user presses "next" onPlayBackStopped is triggered. Is this intended? Is there an alternate way to listen for "stop" ?

another question:
I have to run a while loop in my plugin, that doesn't break until all playback stops. If I try to close xbmc while the loop is still running, it freezes.
Is there a way to stop this? Is it a bug specific to just win & xbox environments?

and finally:
I doubt it is possible but I'll ask anyways: I have multiple items streaming over the internet in a queue, say item A and item B. Once A stream is 100% loaded, is it possible to prebuffer B? From what I understand XBMC can only handle one stream at a time, but if A is already on the hdd or ram, can it not move onto B?

I hope that makes sense.???

rwparris2
2008-12-11, 04:40
Does anyone know how to stop xbmc from crashing on exit/shutdown while python is in a while loop? This is a serious flaw in my plugin and I will don't want to release it until I can figure out a way around this.

stanley87
2008-12-11, 09:35
maybe try some dodgy code:

def LOOP():
if something == something:
LOOP()
else:
print "no more loooping"