diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py
index 4b791019..241fb4f7 100644
--- a/resources/lib/PlayUtils.py
+++ b/resources/lib/PlayUtils.py
@@ -60,8 +60,8 @@ class PlayUtils():
return False
# Avoid H265 1080p
- if result['MediaSources'][0]['Name'].startswith("1080P/H265"):
- self.logMsg("Skip direct play for 1080P/H265 since format playback is not stable.", 1)
+ if utils.settings('transcodeH265') == "true":
+ self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
return False
canDirectPlay = result['MediaSources'][0]['SupportsDirectPlay']
@@ -131,8 +131,8 @@ class PlayUtils():
# FileSystem or Remote, BitRate, supported encoding
# Avoid H265 1080p
- if result['MediaSources'][0]['Name'].startswith("1080P/H265"):
- self.logMsg("Skip direct stream for 1080P/H265 since format playback is not stable.", 1)
+ if utils.settings('transcodeH265') == "true":
+ self.logMsg("Option to transcode 1080P/H265 enabled.", 1)
return False
canDirectStream = result['MediaSources'][0]['SupportsDirectStream']
diff --git a/resources/settings.xml b/resources/settings.xml
index 125b4de7..20babc30 100644
--- a/resources/settings.xml
+++ b/resources/settings.xml
@@ -43,6 +43,7 @@
+