mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-09 02:45:07 +00:00
H265 rectification
This commit is contained in:
parent
8e2cae3b13
commit
b9ba092e12
2 changed files with 9 additions and 9 deletions
|
@ -91,10 +91,10 @@ class PlayUtils():
|
|||
self.logMsg("Can't direct play, play from HTTP enabled.", 1)
|
||||
return False
|
||||
|
||||
if (utils.settings('transcodeHEVC') == "true" and
|
||||
item['MediaSources'][0]['Name'].startswith("1080P/HEVC")):
|
||||
# Avoid HEVC(H265) 1080p
|
||||
self.logMsg("Option to transcode 1080P/HEVC enabled.", 1)
|
||||
if (utils.settings('transcodeH265') == "true" and
|
||||
item['MediaSources'][0]['Name'].startswith(("1080P/HEVC","1080P/H265"))):
|
||||
# Avoid H265 1080p
|
||||
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
||||
return False
|
||||
|
||||
canDirectPlay = item['MediaSources'][0]['SupportsDirectPlay']
|
||||
|
@ -191,10 +191,10 @@ class PlayUtils():
|
|||
|
||||
item = self.item
|
||||
|
||||
if (utils.settings('transcodeHEVC') == "true" and
|
||||
item['MediaSources'][0]['Name'].startswith("1080P/HEVC")):
|
||||
# Avoid HEVC(H265) 1080p
|
||||
self.logMsg("Option to transcode 1080P/HEVC enabled.", 1)
|
||||
if (utils.settings('transcodeH265') == "true" and
|
||||
item['MediaSources'][0]['Name'].startswith(("1080P/HEVC","1080P/H265"))):
|
||||
# Avoid H265 1080p
|
||||
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
|
||||
return False
|
||||
|
||||
# Requirement: BitRate, supported encoding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue