Resolving merge conflict
This commit is contained in:
parent
0c444beab0
commit
08a0c38704
1 changed files with 4 additions and 8 deletions
|
@ -101,10 +101,6 @@ class PlayUtils():
|
|||
return False
|
||||
|
||||
if not self.h265enabled():
|
||||
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)
|
||||
return False
|
||||
|
||||
# Found with e.g. trailers
|
||||
|
@ -159,11 +155,11 @@ class PlayUtils():
|
|||
videoCodec = self.API.getVideoCodec()
|
||||
codec = videoCodec['videocodec']
|
||||
resolution = videoCodec['resolution']
|
||||
if ((utils.settings('transcodeH265') == "true") and
|
||||
("h265" in codec) and
|
||||
if ((utils.settings('transcodeHEVC') == "true") and
|
||||
("hevc" in codec) and
|
||||
(resolution == "1080")):
|
||||
# Avoid H265 1080p
|
||||
self.logMsg("Option to transcode 1080P/H265 enabled.", 0)
|
||||
# Avoid HEVC(H265) 1080p
|
||||
self.logMsg("Option to transcode 1080P/HEVC enabled.", 0)
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue