mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Update 3.0.14a
This commit is contained in:
parent
d62b5fe2d0
commit
4e0a31f601
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="3.0.12a"
|
version="3.0.14a"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.25.0"/>
|
<import addon="xbmc.python" version="2.25.0"/>
|
||||||
|
|
|
@ -21,7 +21,7 @@ log = logging.getLogger("EMBY."+__name__)
|
||||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
||||||
|
|
||||||
STATE = connectionmanager.ConnectionState
|
STATE = connectionmanager.ConnectionState
|
||||||
XML_PATH = (addon.getAddonInfo('path'), "default", "1080i")
|
XML_PATH = (addon.getAddonInfo('path'), "default", "1080i", True)
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ class ContextMenu(object):
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_item_type(cls):
|
def _get_item_type(cls):
|
||||||
|
|
||||||
item_type = sys.listitem.getVideoInfoTag().getMediaType().decode('utf-8')
|
item_type = sys.listitem.getVideoInfoTag().getMediaType()
|
||||||
|
|
||||||
if not item_type:
|
if not item_type:
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ class ContextMenu(object):
|
||||||
else:
|
else:
|
||||||
log.info("item_type is unknown")
|
log.info("item_type is unknown")
|
||||||
|
|
||||||
return item_type
|
return item_type.decode('utf-8')
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_item_id(cls, kodi_id, item_type):
|
def _get_item_id(cls, kodi_id, item_type):
|
||||||
|
|
Loading…
Reference in a new issue