From 1651cbe071c8647537032985245be81ce6ee2ed8 Mon Sep 17 00:00:00 2001 From: MathiasDPX Date: Thu, 19 Sep 2024 19:49:51 +0200 Subject: [PATCH] Handle next.showtime.on --- modules/Classes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Classes.py b/modules/Classes.py index e06cefb..b85889d 100644 --- a/modules/Classes.py +++ b/modules/Classes.py @@ -84,6 +84,9 @@ class Theater: if data["message"] == "no.showtime.error": return [] + + if data["message"] == "next.showtime.on": + return [] if data.get('error'): raise Exception(f"API Error: {data}")