[svn r801] Fixed status request error when more than one transcode was in progress and one of them concluded trunk
authormelunko
Fri Aug 03 21:43:42 2007 +0100 (2007-08-03)
branchtrunk
changeset 7952b4e9d183146
parent 794 02ba1859ddc0
child 796 2c1686735af6
[svn r801] Fixed status request error when more than one transcode was in progress and one of them concluded
gmyth-stream/server/0.3/lib/request_handler.py
     1.1 --- a/gmyth-stream/server/0.3/lib/request_handler.py	Fri Aug 03 21:42:55 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.3/lib/request_handler.py	Fri Aug 03 21:43:42 2007 +0100
     1.3 @@ -237,6 +237,9 @@
     1.4                      if str(transcoder.tid) in req_tid:
     1.5                          self.wfile.write("Status:%s:%s %%" % (\
     1.6                              transcoder.tid, transcoder.status))
     1.7 +                        return True
     1.8 +                stat = self.transcoders_log.get_status(int(req_tid[0]))
     1.9 +                self.wfile.write("%s<br>" % stat)
    1.10                  return True
    1.11  
    1.12              else: