2004-09-20, 01:44
hi !
i tried to use some of the player() class methods
the one i am intersting with is the onplaybackended()
i read in a paper about xbmc's classes (found in the cvs i think) i can read :
onplaybackended() -- onplaybackended method
will be called when xbmc stops playing a file
so, i made this in my script
def onplaybackended():
print 'this is the end !"
def playmusic()
xbmc.player().play(mystreamvideo)
so i thought that after playing my video, it will print 'this is the end' .. but nothing occured !! neither message nor error..
please help ! is this method working ?
i tried to use some of the player() class methods
the one i am intersting with is the onplaybackended()
i read in a paper about xbmc's classes (found in the cvs i think) i can read :
onplaybackended() -- onplaybackended method
will be called when xbmc stops playing a file
so, i made this in my script
def onplaybackended():
print 'this is the end !"
def playmusic()
xbmc.player().play(mystreamvideo)
so i thought that after playing my video, it will print 'this is the end' .. but nothing occured !! neither message nor error..
please help ! is this method working ?