From 86caf21af4496d167b6f497369b821444551d8ec Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 9 Jan 2016 21:25:17 -0600 Subject: [PATCH] HEVC transcode Still waiting on user feedback on this one. --- resources/lib/playutils.py | 8 ++++---- resources/settings.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index b1b2fc5f..852cb806 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -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'] diff --git a/resources/settings.xml b/resources/settings.xml index 53063d1a..f5a093fc 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -47,7 +47,7 @@ - +