diff -r ef4fb30176dd -r c764b0a92282 gmyth-stream/server/0.3/lib/request_handler.py --- a/gmyth-stream/server/0.3/lib/request_handler.py Tue Jun 05 12:32:43 2007 +0100 +++ b/gmyth-stream/server/0.3/lib/request_handler.py Tue Jun 05 17:19:29 2007 +0100 @@ -357,10 +357,11 @@ elif self.query.get("type", "")[0] == "file" and \ self.query.get("uri", None): + + filename = self.query.get("uri", None)[0] + self.transcoders_log.insert(test_tid, "gms.%s" % filename) + try: - filename = self.query.get("uri", None)[0] - self.transcoders_log.insert(test_tid, "gms.%s" % filename) - media = open(filename) data_in = " " total_read = 0 @@ -375,8 +376,12 @@ self.transcoders_log._update_status(test_tid, msg_status) + self.transcoders_log._update_status(test_tid, "OK: Done") + except Exception, e: self.log.error("Stream error: %s" %e) + self.transcoders_log._update_status(test_tid, + "Error: %s" % e) # serve_stream()