title: Progressbar to show amount of music played
body: <p>Suppose I use <code>mp3play</code> module to play mp3 files, and using <code>ttk.Progressbar</code>, I want to show the amount(duration) of music played. Is there any code to achieve it?  </p>
  
  <p>I also want a timer a to show the duration of music played.</p>
  
  <pre><code>import ttk
  import mp3play
  self.music = mp3play.load('filename')
  self.fr=ttk.Frame()
  self.fr.pack(expand=True, fill=BOTH, side=TOP)
  self.seek=ttk.Progressbar(self.fr, orient='horizontal', mode='determinate', length=500)
  self.seek.place(x=50, y=325)
  self.seek.start()
  </code></pre>