From d07816d7fb3444f8abba61d261c0095437b2e9b8 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 2 Dec 2015 05:00:00 -0600 Subject: [PATCH] Correct typo --- resources/lib/PlayUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py index 14a36b7f..4b791019 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -131,10 +131,10 @@ class PlayUtils(): # FileSystem or Remote, BitRate, supported encoding # Avoid H265 1080p - if item['MediaSources'][0]['Name'].startswith("1080P/H265"): + if result['MediaSources'][0]['Name'].startswith("1080P/H265"): self.logMsg("Skip direct stream for 1080P/H265 since format playback is not stable.", 1) return False - + canDirectStream = result['MediaSources'][0]['SupportsDirectStream'] # Make sure it's supported by server if not canDirectStream: