From f2575289b206ffcc403742232719ac66bdd5f033 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 17 May 2017 16:00:43 +0200 Subject: [PATCH] Remove attribute --- 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 1cc97b44..47320379 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -24,7 +24,6 @@ class PlayUtils(): self.API = PlexAPI.API(item) self.doUtils = DownloadUtils().downloadUrl - self.server = window('pms_server') self.machineIdentifier = window('plex_machineIdentifier') def getPlayUrl(self, partNumber=None): @@ -334,7 +333,8 @@ class PlayUtils(): # We don't know the language - no need to download else: path = self.API.addPlexCredentialsToUrl( - "%s%s" % (self.server, stream.attrib['key'])) + "%s%s" % (window('pms_server'), + stream.attrib['key'])) downloadable_streams.append(index) download_subs.append(tryEncode(path)) else: