From 22813311d63caaec906d5ec06f79aab0efe64bdc Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 7 Jun 2020 11:33:57 +0200 Subject: [PATCH] =?UTF-8?q?fix=20viewmode=20pi=C3=B9=20preciso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.py b/service.py index 366c36b6..a12dda24 100644 --- a/service.py +++ b/service.py @@ -266,7 +266,7 @@ def viewmodeMonitor(): currentModeName = xbmc.getInfoLabel('Container.Viewmode') win = xbmcgui.Window(xbmcgui.getCurrentWindowId()) currentMode = int(win.getFocusId()) - if currentModeName and 'plugin.video.kod' in xbmc.getInfoLabel('Container.FolderPath'): # inside addon and in itemlist view + if currentModeName and 'plugin.video.kod' in xbmc.getInfoLabel('Container.FolderPath') and currentMode < 1000 and currentMode >= 50: # inside addon and in itemlist view content, Type = platformtools.getCurrentView() if content: defaultMode = int(config.get_setting('view_mode_%s' % content).split(',')[-1])