diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 6fe3e281..405819aa 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -101,6 +101,10 @@ 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 diff --git a/resources/settings.xml b/resources/settings.xml index ee1d9e78..f8658a54 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -49,7 +49,7 @@ - +