This commit is contained in:
barry 2025-01-15 19:05:55 +01:00
parent 9128e8ce87
commit 347c87a154

View File

@ -94,7 +94,7 @@ def display_loop(api: Api, cfg: Dict):
elif data == "not-playing": elif data == "not-playing":
draw = ImageDraw.Draw(not_playing_img) draw = ImageDraw.Draw(not_playing_img)
current_time = datetime.now().time() current_time = datetime.now()
draw.rectangle([(00, 120), (119, 190)], fill=(0, 0, 0)) draw.rectangle([(00, 120), (119, 190)], fill=(0, 0, 0))
offset = 10 if current_time.hour < 9 else 0 offset = 10 if current_time.hour < 9 else 0
draw.text( draw.text(