diff --git a/oxdbarchive/model.py b/oxdbarchive/model.py index aa023aa..fcb3afe 100644 --- a/oxdbarchive/model.py +++ b/oxdbarchive/model.py @@ -512,7 +512,10 @@ class ArchiveFile(SQLObject): def extractPosterStill(self, position): oxdb_makedir(dirname(self.posterStillFile)) - extract_poster_still(self.absolutePath, self.posterStillFile, position) + mFile = self.absolutePath + if mFile.endswith('.mov') or mFile.endswith('.mpg'): + mFile = self.mini_movie_file + extract_poster_still(mFile, self.posterStillFile, position) def extractClipMovie(self, force = False): if self.broken: