From 14b133917967c0e68389a3988889ac76072b7db7 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 18 Jun 2016 13:56:56 -0500 Subject: [PATCH] Fix typos --- resources/lib/playutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index ed9b57b0..8e3c9a08 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -202,9 +202,9 @@ class PlayUtils(): def isDirectStream(self): videotrack = self.item['MediaSources'][0]['Name'] - transcodeH265 = utils.settings('transcodeH265') + transcodeH265 = settings('transcodeH265') videoprofiles = [x['Profile'] for x in self.item['MediaSources'][0]['MediaStreams'] if 'Profile' in x] - transcodeHi10P = utils.settings('transcodeHi10P') + transcodeHi10P = settings('transcodeHi10P') if transcodeHi10P == "true" and "H264" in videotrack and "High 10" in videoprofiles: return False @@ -316,7 +316,7 @@ class PlayUtils(): } # max bit rate supported by server (max signed 32bit integer) - return bitrate.get(utils.settings('videoBitrate'), 2147483) + return bitrate.get(settings('videoBitrate'), 2147483) def audioSubsPref(self, url, listitem):