diff --git a/resources/lib/videoplayer.py b/resources/lib/videoplayer.py index 80b5638..8d2905e 100644 --- a/resources/lib/videoplayer.py +++ b/resources/lib/videoplayer.py @@ -247,7 +247,7 @@ def _handle_upnext(self): except Exception: utils.crunchy_log("_handle_upnext: Cannot send upnext notification", xbmc.LOGERROR) - def _compute_when_episode_ends(self) -> int: + def _compute_when_episode_ends(self) -> Optional[int]: upnext_mode = G.args.addon.getSetting("upnext_mode") if upnext_mode == "disabled": return None