By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,272 Members | 1,733 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,272 IT Pros & Developers. It's quick & easy.

Detect song is over - wxpython

P: 28
How do I detect song is over? I have a function that run ONLY when song have finished playing. How do I do that?
Dec 8 '08 #1
Share this Question
Share on Google+
2 Replies

P: 126
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.
Dec 8 '08 #2

P: 28
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 finishes
Dec 8 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.