[svn r690] * GMyth-Streamer trunk
authormorphbr
Thu May 17 19:22:03 2007 +0100 (2007-05-17)
branchtrunk
changeset 684cabd7221c449
parent 683 4a784466828d
child 685 e863d5b45e52
[svn r690] * GMyth-Streamer
- Bug fix regarding transcoders status
gmyth-stream/server/0.2/lib/server.py
     1.1 --- a/gmyth-stream/server/0.2/lib/server.py	Thu May 17 15:43:02 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/lib/server.py	Thu May 17 19:22:03 2007 +0100
     1.3 @@ -243,10 +243,15 @@
     1.4                      filename = "%s" % self.query.get("file")[0]
     1.5                      tfilename = "%s" % transcoder.params_first("uri")
     1.6  
     1.7 +                    self.log.debug("FILENAME: %s" % filename)
     1.8 +                    self.log.debug("TFILENAME: %s" % tfilename)
     1.9 +
    1.10                      if tfilename.find(filename) >= 0 and \
    1.11                             request.client_address[0] == self.query.get("ip")[0]:
    1.12                          self.wfile.write("Status: %s %%" % transcoder.status)
    1.13 -                    return
    1.14 +                        return True
    1.15 +
    1.16 +                return False
    1.17  
    1.18              else:
    1.19                  running = "<p>Running transcoders:</p>\n"