extract movie before publising

This commit is contained in:
j 2008-03-26 00:02:48 +00:00
parent d0f11023f4
commit df8a6d3905

View file

@ -129,6 +129,7 @@ class Archive(SQLObject):
) )
ret = "added entry" ret = "added entry"
f.updateMeta() f.updateMeta()
f.extractAll()
self.notifyFrontend('add', f.md5sum) self.notifyFrontend('add', f.md5sum)
return ret.encode('utf-8') return ret.encode('utf-8')
@ -448,10 +449,10 @@ class ArchiveFile(SQLObject):
self.updateMeta() self.updateMeta()
self.extractClipMovie(force) self.extractClipMovie(force)
self.extractTimeline(force) self.extractTimeline(force)
#enable this later #enable this later
#self.extractFrames() #self.extractFrames()
#self.extractClips() #self.extractClips()
def extractFlvClip(self, inpoint, outpoint=-1, flash_folder=-1): def extractFlvClip(self, inpoint, outpoint=-1, flash_folder=-1):
if flash_folder == -1: if flash_folder == -1:
flash_folder = self.frameFolder flash_folder = self.frameFolder