Fix KeyError when browsing On Deck
This commit is contained in:
parent
3fabb21dac
commit
7421018403
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue