mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fixed broken DTS-HD_ma and DTS-HD_hra flags
This commit is contained in:
parent
e96524dac9
commit
50658294d7
1 changed files with 4 additions and 1 deletions
|
@ -197,9 +197,12 @@ class API(object):
|
||||||
'language': stream.get('Language')
|
'language': stream.get('Language')
|
||||||
}
|
}
|
||||||
|
|
||||||
if "dca" in codec and "dts-hd ma" in profile:
|
if "dts-hd ma" in profile:
|
||||||
track['codec'] = "dtshd_ma"
|
track['codec'] = "dtshd_ma"
|
||||||
|
|
||||||
|
if "dts-hd hra" in profile:
|
||||||
|
track['codec'] = "dtshd_hra"
|
||||||
|
|
||||||
audio_tracks.append(track)
|
audio_tracks.append(track)
|
||||||
|
|
||||||
def get_runtime(self):
|
def get_runtime(self):
|
||||||
|
|
Loading…
Reference in a new issue