From 25f420b4533aa7d590833d537de4891d81196d46 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 7 Aug 2018 10:55:53 +0100 Subject: [PATCH] fix stills on poster --- scripts/poster.cms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/poster.cms.py b/scripts/poster.cms.py index 5428bc0..ca5c52f 100755 --- a/scripts/poster.cms.py +++ b/scripts/poster.cms.py @@ -80,7 +80,7 @@ def render_poster(data, poster): if duration: for i in range(small_frames): position = duration * (i + 1) / (small_frames + 1) - small_frame_image = get_frame(id, 96, round(position * 25) / 25) + small_frame_image = get_frame(data['id'], 96, round(position * 25) / 25) if small_frame_image: small_frame_image_ratio = small_frame_image.size[0] / small_frame_image.size[1] if small_frame_ratio < small_frame_image_ratio: