diff --git a/resources/lib/videonodes.py b/resources/lib/videonodes.py index 5636fb3c..619fdc59 100644 --- a/resources/lib/videonodes.py +++ b/resources/lib/videonodes.py @@ -11,6 +11,7 @@ from xbmcvfs import exists from utils import window, settings, language as lang, try_encode, indent, \ normalize_nodes, exists_dir, try_decode import variables as v +import state ############################################################################### @@ -46,7 +47,7 @@ class VideoNodes(object): def viewNode(self, indexnumber, tagname, mediatype, viewtype, viewid, delete=False): # Plex: reassign mediatype due to Kodi inner workings # How many items do we get at most? - limit = window('fetch_pms_item_number') + limit = state.FETCH_PMS_ITEM_NUMBER mediatypes = { 'movie': 'movies', 'show': 'tvshows',