diff -r 367d791aeb57 -r eaa6e1c5fab2 gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py Thu May 17 14:07:27 2007 +0100 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py Thu May 24 21:14:40 2007 +0100 @@ -38,7 +38,7 @@ # _setup_mythfilename def _setup_mythfile(err): - size = err.read(20).split("\n")[0].split("Size:")[1] + size = err.readline().split("Size:")[1] flags = fcntl.fcntl (err, fcntl.F_GETFL, 0) | os.O_NONBLOCK fcntl.fcntl(err, fcntl.F_SETFL, flags) return size