This commit is contained in:
j 2007-07-18 11:35:54 +00:00
parent cf952f05cf
commit 6ecd8c234e
2 changed files with 5 additions and 4 deletions

View File

@ -61,6 +61,6 @@ def loadPosterStill(afile, position):
still = afile.posterStillFile
if not exists(still):
afile.extractPosterStill(position)
if exsts(still):
if exists(still):
return loadFile(still)
return ''

View File

@ -460,10 +460,11 @@ class ArchiveFile(SQLObject):
def extractFrames(self, img_folder=cache.frame_cache_root):
for p in self._startPoints():
self.extractFrame(p)
self.frame(p)
def extractPosterStill(self, position, img_folder=):
extract_poster_still(self.movieFile, self.posterStillFile, position)
def extractPosterStill(self, position):
oxdb_makedir(dirname(self.posterStillFile))
extract_poster_still(self.absolutePath, self.posterStillFile, position)
def extractClipMovie(self, force = False):
if self.broken: