diff --git a/plugin/controllers/web.py b/plugin/controllers/web.py index af832151a..aab520fc3 100644 --- a/plugin/controllers/web.py +++ b/plugin/controllers/web.py @@ -1080,7 +1080,7 @@ def _AddEditTimer(self, request, mode): } elif b"eit" in list(request.args.keys()) and isinstance(request.args[b"eit"][0], int): eit = int(request.args[b"eit"][0]) - else + else: #This might need further investigation. Dp npt get exactly the middle, take 20% so we usually expect to get first event. queryTime = int(request.args[b"begin"][0]) + (int(request.args[b"end"][0]) - int(request.args[b"begin"][0])) // 5 epg = EPG()