title: pyglet ManagedSoundPlayer on_eos event not working?
body: <p>I am trying to listen to the on_eos event of the pyglet.media.ManagedSoundPlayer following the examples in the <a href="http://pyglet.org/doc-current/programming_guide/events.html" rel="nofollow">pyglet documentation</a> and end up with code like this:</p>
  
  <pre><code>from pyglet.media import load, ManagedSoundPlayer
  
  def on_eos():
      print "EOS"
  
  def play(source):
      player = source.play()
      player.on_eos = on_eos
  
  src = load("beep.mp3")
  play(src)
  </code></pre>
  
  <p>As expected, I do hear a "beep" - but to my surprise and frustration, "EOS" is <em>not</em> printed. </p>
  
  <p>Did I miss something in the docs? Am I doing something wrong? What should I do to make this work?</p>
  
  <p>Thank you!</p>