# HG changeset patch # User morphbr # Date 1179436575 -3600 # Node ID 6c22199ff33ed65b5195d55d1d82a2811f6bb5aa # Parent b29ea6deb6f80a042fef12717d36f4444d7f49f4 [svn r693] * GMyth-Streamer - Bug fix at mythtv file status diff -r b29ea6deb6f8 -r 6c22199ff33e 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 21:58:17 2007 +0100 +++ b/gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py Thu May 17 22:16:15 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