add loadPosterStill again, thats still needed for now
This commit is contained in:
parent
e49db8cdfa
commit
64e8dade2c
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue