mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Update 2.3.59
This commit is contained in:
parent
938538c54f
commit
6ddbcac42e
2 changed files with 9 additions and 2 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="2.3.57"
|
version="2.3.59"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.19.0"/>
|
<import addon="xbmc.python" version="2.19.0"/>
|
||||||
|
@ -17,6 +17,11 @@
|
||||||
<extension point="xbmc.service" library="service.py" start="login">
|
<extension point="xbmc.service" library="service.py" start="login">
|
||||||
</extension>
|
</extension>
|
||||||
<extension point="kodi.context.item" library="contextmenu.py">
|
<extension point="kodi.context.item" library="contextmenu.py">
|
||||||
|
<item>
|
||||||
|
<label>Select video</label>
|
||||||
|
<description>Select the video track</description>
|
||||||
|
<visible>[!IsEmpty(ListItem.DBID) + !StringCompare(ListItem.DBID,-1) | !IsEmpty(ListItem.Property(embyid))] + !IsEmpty(Window(10000).Property(emby_context))</visible>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<label>30401</label>
|
<label>30401</label>
|
||||||
<description>Settings for the Emby Server</description>
|
<description>Settings for the Emby Server</description>
|
||||||
|
|
|
@ -702,7 +702,9 @@ class PlayUtils():
|
||||||
try:
|
try:
|
||||||
return {'width' : self.item['MediaStreams'][0]['Width'],
|
return {'width' : self.item['MediaStreams'][0]['Width'],
|
||||||
'height' : self.item['MediaStreams'][0]['Height']}
|
'height' : self.item['MediaStreams'][0]['Height']}
|
||||||
except KeyError as error:
|
except (KeyError, IndexError) as error:
|
||||||
|
log.debug(error)
|
||||||
|
log.debug(self.item)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def getVideoStreamID(self):
|
def getVideoStreamID(self):
|
||||||
|
|
Loading…
Reference in a new issue