mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Version bump 1.1.18
Convert audio dts-hd ma to dts, because Kodi doesn't recognize it.
This commit is contained in:
parent
8763654a6d
commit
ec5ad7d762
2 changed files with 5 additions and 3 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="1.1.17"
|
version="1.1.18"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
|
|
|
@ -134,7 +134,7 @@ class API():
|
||||||
videotrack['videocodec'] = "divx"
|
videotrack['videocodec'] = "divx"
|
||||||
elif "mpeg4" in videotrack['videocodec']:
|
elif "mpeg4" in videotrack['videocodec']:
|
||||||
profile = mediaStream.get('Profile', "").lower()
|
profile = mediaStream.get('Profile', "").lower()
|
||||||
if "simple profile" in profile or not profile:
|
if "simple profile" in profile or profile == "":
|
||||||
videotrack['videocodec'] = "xvid"
|
videotrack['videocodec'] = "xvid"
|
||||||
elif "h264" in videotrack['videocodec']:
|
elif "h264" in videotrack['videocodec']:
|
||||||
if container in ("mp4", "mov", "m4v"):
|
if container in ("mp4", "mov", "m4v"):
|
||||||
|
@ -155,7 +155,9 @@ class API():
|
||||||
|
|
||||||
elif "Audio" in type:
|
elif "Audio" in type:
|
||||||
audiotrack = {}
|
audiotrack = {}
|
||||||
audiotrack['audiocodec'] = mediaStream.get('Codec')
|
audiotrack['audiocodec'] = mediaStream.get('Codec', "").lower()
|
||||||
|
if "dts-hd ma" in audiotrack['audiocodec']:
|
||||||
|
audiotrack['audiocodec'] = "dts"
|
||||||
audiotrack['channels'] = mediaStream.get('Channels')
|
audiotrack['channels'] = mediaStream.get('Channels')
|
||||||
audiotrack['audiolanguage'] = mediaStream.get('Language')
|
audiotrack['audiolanguage'] = mediaStream.get('Language')
|
||||||
audiotracks.append(audiotrack)
|
audiotracks.append(audiotrack)
|
||||||
|
|
Loading…
Reference in a new issue