# HG changeset patch # User morphbr # Date 1179426123 -3600 # Node ID cabd7221c449eee9e4ab2c0f61e078954053a739 # Parent 4a784466828dd9f4a66658fcc908c71c9e61f1ab [svn r690] * GMyth-Streamer - Bug fix regarding transcoders status diff -r 4a784466828d -r cabd7221c449 gmyth-stream/server/0.2/lib/server.py --- a/gmyth-stream/server/0.2/lib/server.py Thu May 17 15:43:02 2007 +0100 +++ b/gmyth-stream/server/0.2/lib/server.py Thu May 17 19:22:03 2007 +0100 @@ -243,10 +243,15 @@ filename = "%s" % self.query.get("file")[0] tfilename = "%s" % transcoder.params_first("uri") + self.log.debug("FILENAME: %s" % filename) + self.log.debug("TFILENAME: %s" % tfilename) + if tfilename.find(filename) >= 0 and \ request.client_address[0] == self.query.get("ip")[0]: self.wfile.write("Status: %s %%" % transcoder.status) - return + return True + + return False else: running = "
Running transcoders:
\n"