diff --git a/plugins/embyreporter/__init__.py b/plugins/embyreporter/__init__.py index 2f9ec1f..7fe43cb 100644 --- a/plugins/embyreporter/__init__.py +++ b/plugins/embyreporter/__init__.py @@ -367,6 +367,9 @@ class EmbyReporter(_PluginBase): font_count = ImageFont.truetype(font_path, 12) # 合并绘制 + if len(movies) < 5: + movies.extend([] * (5 - len(movies))) + all_ranks = movies + tvshows index, offset_y = (0, 0) for i in all_ranks: