From d99e7a12906b5e014a2798178c44bb84f3bea6be Mon Sep 17 00:00:00 2001 From: A69Tor Date: Fri, 6 May 2016 16:41:37 -0400 Subject: [PATCH] Update playutils.py --- 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 7f5b6926..4cf65f16 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -102,7 +102,7 @@ class PlayUtils(): videotrack = self.item['MediaSources'][0]['Name'] transcodeH265 = settings('transcodeH265') - videoprofile = self.item['MediaSources'][1]['Name'] + videoprofile = self.item['MediaSources'][0]['Profile'] transcodeHi10P = settings('transcodeHi10P') if transcodeHi10P == "true" and "H264" in videotrack and "High 10" in videoprofile: @@ -212,7 +212,7 @@ class PlayUtils(): videotrack = self.item['MediaSources'][0]['Name'] transcodeH265 = utils.settings('transcodeH265') - videoprofile = self.item['MediaSources'][1]['Name'] + videoprofile = self.item['MediaSources'][0]['Profile'] transcodeHi10P = settings('transcodeHi10P') if transcodeHi10P == "true" and "H264" in videotrack and "High 10" in videoprofile: