Progressing nicely

With a nice progress bar! The number of files that TIM has to chomp through is quickly calculated (a second or so of time), and then this number combined with a piece of code to increment a second value by one every time a file is indexed provides all that is needed for wxPython to produce a progress bar. As screen shots look nice I have posted another one below, illustrating TIM’s progress bar. This is very useful for large numbers of MP3s as the user is given both a physical indication of how much has been done and has left to go (the bar) as well as an accurate “time left to wait” figure. This is dynamically calculated depending on the average time between each operation, and is kept up to date and gets very accurate within a couple of seconds.

Progress bar for TIM indexing process

 

Possibly related articles

Comments are closed.