Author: tack
Date: Sat Feb 16 19:19:56 2008
New Revision: 3110

Log:
Fix bug where play/start signals were not getting emitted.


Modified:
   trunk/popcorn/src/generic.py

Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py        (original)
+++ trunk/popcorn/src/generic.py        Sat Feb 16 19:19:56 2008
@@ -344,12 +344,12 @@
         self._player.play()
         yield self.wait(STATE_PLAYING, STATE_NOT_RUNNING, STATE_IDLE)
         if self._get_state() == STATE_PLAYING:
+            self.signals["start"].emit()
+            self.signals["play"].emit()
             return
         self._failed_player.append(self.get_player_id())
         yield self._open()
         yield self.play()
-        self.signals["start"].emit()
-        self.signals["play"].emit()
 
 
     @required_states(STATE_PLAYING, STATE_PAUSED, STATE_STOPPING)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to