add loadPosterStill again, thats still needed for now

This commit is contained in:
j 2008-07-04 11:58:16 +02:00
parent e49db8cdfa
commit 64e8dade2c

View file

@ -76,6 +76,14 @@ def loadTimeline(afile):
return loadFile(timeline) return loadFile(timeline)
return '' return ''
def loadPosterStill(afile, position):
still = afile.posterStillFile
if not exists(still):
afile.extractPosterStill(position)
if exists(still):
return loadFile(still)
return ''
def loadStil(afile, position): def loadStil(afile, position):
still = afile.stillFile still = afile.stillFile
still.replace('.png', '%s.png' % position) still.replace('.png', '%s.png' % position)