Author: dmeyer
Date: Thu Nov 30 17:07:02 2006
New Revision: 2133
Modified:
trunk/popcorn/src/generic.py
Log:
fix state when no player is running
Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py (original)
+++ trunk/popcorn/src/generic.py Thu Nov 30 17:07:02 2006
@@ -432,7 +432,7 @@
This function will return STATE_IDLE if the player is not running.
"""
if not self._player:
- return STATE_NOT_RUNNING
+ return STATE_IDLE
if self._player.get_state() in (STATE_NOT_RUNNING, STATE_SHUTDOWN):
return STATE_IDLE
return self._player.get_state()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog