extract movie before publising
This commit is contained in:
parent
d0f11023f4
commit
df8a6d3905
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue