Hi, so I'm in the process of writing a music player with a GUI. I would like to be able to print a statement after I am done playing a song. I originally through I could just get away with getting the song's length and time.sleep'ing for that long. Since my GUI has a pause button, I think just using time.sleep is out of the question, as the song and the sleep function would become out of sync. So, how would I be able to accomplish my goal? Hopefully my question is clear enough...just ask if you need more information.
By the way, I am using tkSnack as my sound library.
Okay, I've found my solution and I thought I would share it. Even though tkSnack cannot tell you if the stream is active or not, it does tell you how long a track is. Using that information, I used a thread to keep the elapsed time of a song (by sleeping for 0.5 seconds then updating the elapsed time).
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...