diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 0a74690b..32452d9a 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -92,7 +92,7 @@ class PlayUtils(): return False 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