[svn r734] * GMyth-Streamer trunk
authormorphbr
Thu May 31 19:36:03 2007 +0100 (2007-05-31)
branchtrunk
changeset 7286e54ca4a4e9a
parent 727 72f9152d4e2a
child 729 8ef808220720
[svn r734] * GMyth-Streamer
- Close socket when transcoding to file (bug fix)
gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py
     1.1 --- a/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py	Thu May 31 17:12:51 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/plugins/transcoders/mencoder_lib/mythtv.py	Thu May 31 19:36:03 2007 +0100
     1.3 @@ -79,8 +79,11 @@
     1.4          except Exception, e:
     1.5              self.log.error(self.tid, "Error: Problems getting size of"\
     1.6                             " file: %s" % e)
     1.7 +            outfd.write("Error: Problems getting size of file: %s" % e)
     1.8              return False
     1.9  
    1.10 +    outfd.write("OK     ")
    1.11 +
    1.12      try:
    1.13          while self.proc and self.proc.poll() == None:
    1.14              r, w, x = select([self.gmyth.stderr, self.proc.stdout],