mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-21 07:26:44 +00:00
fix 电影不足5个时补足
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user