From 4e0a31f6012853313587471de9b203b6024324ce Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 10 Mar 2018 04:47:26 -0600 Subject: [PATCH] Update 3.0.14a --- addon.xml | 2 +- resources/lib/connectmanager.py | 2 +- resources/lib/context_entry.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addon.xml b/addon.xml index 2c3d4ace..83a172cd 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/connectmanager.py b/resources/lib/connectmanager.py index d05b2b38..df83560e 100644 --- a/resources/lib/connectmanager.py +++ b/resources/lib/connectmanager.py @@ -21,7 +21,7 @@ log = logging.getLogger("EMBY."+__name__) addon = xbmcaddon.Addon(id='plugin.video.emby') STATE = connectionmanager.ConnectionState -XML_PATH = (addon.getAddonInfo('path'), "default", "1080i") +XML_PATH = (addon.getAddonInfo('path'), "default", "1080i", True) ################################################################################################## diff --git a/resources/lib/context_entry.py b/resources/lib/context_entry.py index e21a1a74..5030f587 100644 --- a/resources/lib/context_entry.py +++ b/resources/lib/context_entry.py @@ -73,7 +73,7 @@ class ContextMenu(object): @classmethod def _get_item_type(cls): - item_type = sys.listitem.getVideoInfoTag().getMediaType().decode('utf-8') + item_type = sys.listitem.getVideoInfoTag().getMediaType() if not item_type: @@ -88,7 +88,7 @@ class ContextMenu(object): else: log.info("item_type is unknown") - return item_type + return item_type.decode('utf-8') @classmethod def _get_item_id(cls, kodi_id, item_type):