extractSubtitles from idx/rar pics
This commit is contained in:
parent
49fd4d082e
commit
28b6fb3cb5
2 changed files with 12 additions and 9 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue