diff -r 3fbcd3d9b2d1 -r 2061bf4c30c7 gmyth-stream/server/0.3/lib/transcoder.py --- a/gmyth-stream/server/0.3/lib/transcoder.py Tue May 29 21:24:48 2007 +0100 +++ b/gmyth-stream/server/0.3/lib/transcoder.py Tue Aug 28 08:30:10 2007 +0100 @@ -20,7 +20,6 @@ self.params = params # __init__() - def params_first(self, key, default=None): if default is None: return self.params[key][0] @@ -31,26 +30,25 @@ return default # params_first() - def get_mimetype(self): - mux = self.params_first("mux", "mpg") - - if mux == "mpeg": - return "video/mpeg" - elif mux == "avi": - return "video/x-msvideo" - else: - return "application/octet-stream" + return "application/octet-stream" # get_mimetype() def start(self, outfile): - return True + pass # start() + def stop(self): + pass + # stop() - def stop(self): - return True - # stop() + def get_legth (self): + pass + # get_leght () + + def get_progress (self): + pass + # get_progress () def __str__(self): return '%s: %s( params=%s ) - Status: %s%%' % \