fix viewmode più preciso
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ def viewmodeMonitor():
|
|||||||
currentModeName = xbmc.getInfoLabel('Container.Viewmode')
|
currentModeName = xbmc.getInfoLabel('Container.Viewmode')
|
||||||
win = xbmcgui.Window(xbmcgui.getCurrentWindowId())
|
win = xbmcgui.Window(xbmcgui.getCurrentWindowId())
|
||||||
currentMode = int(win.getFocusId())
|
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()
|
content, Type = platformtools.getCurrentView()
|
||||||
if content:
|
if content:
|
||||||
defaultMode = int(config.get_setting('view_mode_%s' % content).split(',')[-1])
|
defaultMode = int(config.get_setting('view_mode_%s' % content).split(',')[-1])
|
||||||
|
|||||||
Reference in New Issue
Block a user