Fix nodes - forgot the encoding

Also replace none with empty dictionary for getItem
This commit is contained in:
angelblue05 2015-08-03 04:45:23 -05:00
parent d548ab6e27
commit 3aa2598c79
2 changed files with 128 additions and 284 deletions

View file

@ -27,7 +27,7 @@ class VideoNodes():
def buildVideoNodeForView(self, tagname, type, windowPropId):
#this method will build a video node for a particular Emby view (= tag in kodi)
#we set some window props here to for easy future reference and to be used in skins (for easy access only)
tagname_normalized = utils.normalize_nodes(tagname)
tagname_normalized = utils.normalize_nodes(tagname.encode('utf-8'))
libraryPath = xbmc.translatePath("special://profile/library/video/Emby - %s/" %tagname_normalized)
kodiVersion = 14