extractSubtitles from idx/rar pics

This commit is contained in:
j 2007-07-26 08:36:47 +00:00
commit 28b6fb3cb5
2 changed files with 12 additions and 9 deletions

View file

@ -48,7 +48,7 @@ class Archive(SQLObject):
socket.setdefaulttimeout(100)
url = "%s/%s?md5sum=%s" % (self.baseUrlFrontend, action, md5sum)
result = read_url(url)
print "Frontend:", result
#print "Frontend:", result['result']
socket.setdefaulttimeout(dto)
def _get_files(self):
@ -491,7 +491,7 @@ class ArchiveFile(SQLObject):
options += ' "%s"' % movie_file.replace('"', '\\"')
options += ' -o "%s"' % mini_movie_file
cmd = "mencoder %s >/dev/null 2>&1" % options
print cmd.encode('utf-8')
#print cmd.encode('utf-8')
os.system(cmd.encode('utf-8'))
def removeTimeline(self):