original -> source
This commit is contained in:
parent
34fa9e9262
commit
d2e45ccbc9
3 changed files with 25 additions and 25 deletions
|
|
@ -36,15 +36,15 @@ def render_poster(data, poster):
|
|||
type = data.get('type')
|
||||
if type:
|
||||
type = data.get('type')[0].lower()
|
||||
if type == "original":
|
||||
if type == "source":
|
||||
i = 0
|
||||
elif type == "background":
|
||||
elif type and type.startswith('ai:'):
|
||||
i = 200
|
||||
elif type == "foreground":
|
||||
elif type == "landscape":
|
||||
i = 400
|
||||
elif type == "foreground2":
|
||||
elif type == "music":
|
||||
i = 500
|
||||
elif type == "annimation":
|
||||
elif type == "audio":
|
||||
i = 600
|
||||
elif type == "voice over":
|
||||
i = 300
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue