iTunes Timer is an AppleScript Studio app to calculate the total time iTunes has been playing. It can perform the calculation on any playlist or the whole library. In other words, you can see exactly how much time you've wasted listening to your music library!
What's new in iTunes Timer
Version 1.0.2 fixes a problem that prevented the application from working on playlists that contain streams.