mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06: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"?>
|
||||
<addon id="plugin.video.emby"
|
||||
name="Emby"
|
||||
version="1.1.17"
|
||||
version="1.1.18"
|
||||
provider-name="Emby.media">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
|
|
|
@ -134,7 +134,7 @@ class API():
|
|||
videotrack['videocodec'] = "divx"
|
||||
elif "mpeg4" in videotrack['videocodec']:
|
||||
profile = mediaStream.get('Profile', "").lower()
|
||||
if "simple profile" in profile or not profile:
|
||||
if "simple profile" in profile or profile == "":
|
||||
videotrack['videocodec'] = "xvid"
|
||||
elif "h264" in videotrack['videocodec']:
|
||||
if container in ("mp4", "mov", "m4v"):
|
||||
|
@ -155,7 +155,9 @@ class API():
|
|||
|
||||
elif "Audio" in type:
|
||||
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['audiolanguage'] = mediaStream.get('Language')
|
||||
audiotracks.append(audiotrack)
|
||||
|
|
Loading…
Reference in a new issue