Resolving merge conflict

This commit is contained in:
tomkat83 2016-01-10 12:38:49 +01:00
parent 0c444beab0
commit 08a0c38704

View file

@ -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