diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 32452d9a..e2835929 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -192,7 +192,7 @@ class PlayUtils(): item = self.item if (utils.settings('transcodeH265') == "true" and - result['MediaSources'][0]['Name'].startswith("1080P/H265")): + item['MediaSources'][0]['Name'].startswith("1080P/H265")): # Avoid H265 1080p self.logMsg("Option to transcode 1080P/H265 enabled.", 1) return False