batch colors

This commit is contained in:
j 2023-11-17 17:18:05 +01:00
parent 0191fc1769
commit 1770544a59

View file

@ -45,7 +45,16 @@ def render_poster(data, poster):
i = 600 i = 600
elif type == "voice over": elif type == "voice over":
i = 300 i = 300
if '1-' in director:
i - 320
if '2-' in director:
i - 340
if '3-' in director:
i - 360
if '4-' in director:
i - 380
if '5-' in director:
i - 490
if i < 127: if i < 127:
color = (127, i, 0) color = (127, i, 0)
elif i < 254: elif i < 254: