gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py
branchtrunk
changeset 708 eaa6e1c5fab2
parent 682 367d791aeb57
child 717 24db16480456
     1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py	Thu May 17 14:07:27 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py	Thu May 24 21:14:40 2007 +0100
     1.3 @@ -38,7 +38,7 @@
     1.4  # _setup_mythfilename
     1.5  
     1.6  def _setup_mythfile(err):
     1.7 -    size = err.read(20).split("\n")[0].split("Size:")[1]
     1.8 +    size = err.readline().split("Size:")[1]
     1.9      flags = fcntl.fcntl (err, fcntl.F_GETFL, 0) | os.O_NONBLOCK
    1.10      fcntl.fcntl(err, fcntl.F_SETFL, flags)
    1.11      return size