HEVC transcode

Still waiting on user feedback on this one.
This commit is contained in:
angelblue05 2016-01-09 21:25:17 -06:00
parent b465fe5c08
commit 86caf21af4
2 changed files with 5 additions and 5 deletions

View file

@ -91,10 +91,10 @@ class PlayUtils():
self.logMsg("Can't direct play, play from HTTP enabled.", 1)
return False
if (utils.settings('transcodeH265') == "true" and
item['MediaSources'][0]['Name'].startswith("1080P/H265")):
# Avoid H265 1080p
self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
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
canDirectPlay = item['MediaSources'][0]['SupportsDirectPlay']