mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Update playutils.py
This commit is contained in:
parent
6cb056c987
commit
d99e7a1290
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ class PlayUtils():
|
|||
|
||||
videotrack = self.item['MediaSources'][0]['Name']
|
||||
transcodeH265 = settings('transcodeH265')
|
||||
videoprofile = self.item['MediaSources'][1]['Name']
|
||||
videoprofile = self.item['MediaSources'][0]['Profile']
|
||||
transcodeHi10P = settings('transcodeHi10P')
|
||||
|
||||
if transcodeHi10P == "true" and "H264" in videotrack and "High 10" in videoprofile:
|
||||
|
@ -212,7 +212,7 @@ class PlayUtils():
|
|||
|
||||
videotrack = self.item['MediaSources'][0]['Name']
|
||||
transcodeH265 = utils.settings('transcodeH265')
|
||||
videoprofile = self.item['MediaSources'][1]['Name']
|
||||
videoprofile = self.item['MediaSources'][0]['Profile']
|
||||
transcodeHi10P = settings('transcodeHi10P')
|
||||
|
||||
if transcodeHi10P == "true" and "H264" in videotrack and "High 10" in videoprofile:
|
||||
|
|
Loading…
Reference in a new issue