[svn r693] * GMyth-Streamer trunk
authormorphbr
Thu May 17 22:16:15 2007 +0100 (2007-05-17)
branchtrunk
changeset 6876c22199ff33e
parent 686 b29ea6deb6f8
child 688 951db7024071
[svn r693] * GMyth-Streamer
- Bug fix at mythtv file status
gmyth-stream/server/0.2/plugins/transcoders/mencoder_lib/mythtv.py
     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