1.1 --- a/gmyth-stream/server/0.3/lib/request_handler.py Wed Aug 15 13:33:12 2007 +0100
1.2 +++ b/gmyth-stream/server/0.3/lib/request_handler.py Tue Aug 21 16:04:44 2007 +0100
1.3 @@ -145,7 +145,7 @@
1.4
1.5 if body:
1.6 file_list = []
1.7 - files.list_media_files(".transcoded", file_list)
1.8 + files.list_media_files(utils.config.get_transcoded_location(), file_list)
1.9 output = files.FileList(map(lambda x, y: x+y, file_list,
1.10 ["<br>"]*len(file_list)))
1.11 self.wfile.write(output)
1.12 @@ -362,7 +362,7 @@
1.13 return
1.14
1.15 #Only stream files on .transcode dir
1.16 - filename = ".transcoded/" + os.path.basename(filename)
1.17 + filename = os.path.join (utils.config.get_transcoded_location(), os.path.basename(filename))
1.18 self.log.error("Stream file: %s" % filename)
1.19 if not os.path.exists (filename):
1.20 self.send_error(404, "File not found")