diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py
index 22e30b7f..81bd5c42 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('transcodeHEVC') == "true" and
- item['MediaSources'][0]['Name'].startswith("1080P/HEVC")):
- # Avoid HEVC(H265) 1080p
- self.logMsg("Option to transcode 1080P/HEVC enabled.", 1)
+ if (utils.settings('transcodeH265') == "true" and
+ item['MediaSources'][0]['Name'].startswith(("1080P/HEVC","1080P/H265"))):
+ # Avoid H265 1080p
+ self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
return False
canDirectPlay = item['MediaSources'][0]['SupportsDirectPlay']
@@ -191,10 +191,10 @@ class PlayUtils():
item = self.item
- 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)
+ if (utils.settings('transcodeH265') == "true" and
+ item['MediaSources'][0]['Name'].startswith(("1080P/HEVC","1080P/H265"))):
+ # Avoid H265 1080p
+ self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
return False
# Requirement: BitRate, supported encoding
diff --git a/resources/settings.xml b/resources/settings.xml
index f5a093fc..53063d1a 100644
--- a/resources/settings.xml
+++ b/resources/settings.xml
@@ -47,7 +47,7 @@
-
+