Make reactor stop after mplayer quit.

This commit is contained in:
Tomasz Fluxid Kowalczyk 2012-01-28 23:12:58 +01:00
parent 9a6a593452
commit 77ff8af256

View File

@ -23,6 +23,9 @@ class MplayerProtocol(LineProcessProtocol):
def processExited(self, reason):
self.manager.player = None
def processEnded(self, reason):
reactor.stop()
def errLineReceived(self, line):
sys.stderr.write(line+'\n')