2013-04-15, 14:53
Hi,
how can I handle such xbmc.Player().play(url) errors programmatically?
I already tried:
... but none of this events are fired in this case of error
cheerz, lorus
how can I handle such xbmc.Player().play(url) errors programmatically?
I already tried:
Code:
class MyPlayer(xbmc.Player):
def __init__( self, *args, **kwargs ):
xbmc.Player.__init__( self )
def PlayStream(self, url):
self.play(url)
while self.isPlaying():
xbmc.sleep(1000)
def onPlayBackEnded( self ):
notify("ended", "ended")
def onPlayBackStopped ( self ):
notify("stopped", "stopped")
... but none of this events are fired in this case of error
cheerz, lorus