1.1 --- a/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py Thu May 17 21:58:17 2007 +0100
1.2 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py Thu May 17 22:16:15 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