From df8a6d3905148c6276e71138c3217f71d6b99c29 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 26 Mar 2008 00:02:48 +0000 Subject: [PATCH] extract movie before publising --- oxdbarchive/model.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/oxdbarchive/model.py b/oxdbarchive/model.py index 81d3302..4dac5a4 100644 --- a/oxdbarchive/model.py +++ b/oxdbarchive/model.py @@ -129,6 +129,7 @@ class Archive(SQLObject): ) ret = "added entry" f.updateMeta() + f.extractAll() self.notifyFrontend('add', f.md5sum) return ret.encode('utf-8') @@ -448,10 +449,10 @@ class ArchiveFile(SQLObject): self.updateMeta() self.extractClipMovie(force) self.extractTimeline(force) - #enable this later - #self.extractFrames() - #self.extractClips() - + #enable this later + #self.extractFrames() + #self.extractClips() + def extractFlvClip(self, inpoint, outpoint=-1, flash_folder=-1): if flash_folder == -1: flash_folder = self.frameFolder