diff --git a/config.jsonc b/config.jsonc index 23e4036..c27a6fa 100644 --- a/config.jsonc +++ b/config.jsonc @@ -545,6 +545,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "columnRequired": true, "columnWidth": 180, "filter": true, + "poster": true, "sort": true }, { diff --git a/scripts/poster.py b/scripts/poster.py index 8151ea8..3a831e7 100755 --- a/scripts/poster.py +++ b/scripts/poster.py @@ -19,6 +19,8 @@ def render_poster(data, poster): director = ox.decode_html(', '.join(data.get('director', []))) if not director and "type" in data: director = ", ".join(data["type"]) + if director == "Voice Over" and data.get("batch"): + director = "%s (vo)" % ", ".join(data["batch"]) year = str(data.get('year', '')) series = data.get('isSeries', False) oxdb_id = data['oxdbId'] @@ -41,6 +43,8 @@ def render_poster(data, poster): i = 500 elif type == "annimation": i = 600 + elif type == "voice over": + i = 300 if i < 127: color = (127, i, 0)