How do I detect song is over? I have a function that run ONLY when song have finished playing. How do I do that?
Detect song is over - wxpython
Collapse
X
-
Well first you need to figure out how your audio playing lib handles this. If there is any events risen or something you can use.
Secondly i think you want to have a look at wx.CallAfter... I think. -
wx.CallAfter can't wait for song to finish, fires up as soon as play() is called. If Iam to use wxCallAfter i need another function to delay until song finishesComment
Comment