From 66d5ef1d5cc603ee2bf0ac4f7bf4bcfd28444861 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Wed, 24 Mar 2021 19:31:18 +0100 Subject: [PATCH] Fix doppia visualizzazione ep. successivo --- platformcode/xbmc_videolibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/xbmc_videolibrary.py b/platformcode/xbmc_videolibrary.py index e926caea..8a5c7146 100644 --- a/platformcode/xbmc_videolibrary.py +++ b/platformcode/xbmc_videolibrary.py @@ -75,7 +75,6 @@ def mark_auto_as_watched(item): # check for next Episode if next_episode and sync and time_from_end >= difference: nextdialog = NextDialog(ND, config.get_runtime_path()) - nextdialog.show() while platformtools.is_playing() and not nextdialog.is_exit(): xbmc.sleep(100) if nextdialog.continuewatching: @@ -1394,6 +1393,7 @@ class NextDialog(xbmcgui.WindowXMLDialog): self.setProperty("next_img", img) self.setProperty("title", info["tvshowtitle"]) self.setProperty("ep_title", "%dx%02d - %s" % (info["season"], info["episode"], info["title"])) + self.doModal() def set_exit(self, EXIT): self.EXIT = EXIT