Correct typo

This commit is contained in:
angelblue05 2015-12-02 05:00:00 -06:00
parent d57f8ddde3
commit d07816d7fb

View file

@ -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: