From 16f3bbf3e44445bf2bf21dab848d699a71c81d81 Mon Sep 17 00:00:00 2001 From: SpootDev Date: Thu, 31 Mar 2016 12:12:02 -0500 Subject: [PATCH] self doutils --- resources/lib/player.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/lib/player.py b/resources/lib/player.py index 851fa647..91ff2ece 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -425,8 +425,6 @@ class Player(xbmc.Player): lang = utils.language settings = utils.settings - doUtils = self.doUtils - if not self.played_info: return @@ -482,7 +480,7 @@ class Player(xbmc.Player): url = "{server}/emby/Items/%s?format=json" % itemid self.logMsg("Deleting request: %s" % itemid, 1) - doUtils(url, type="DELETE") + self.doUtils(url, type="DELETE") self.stopPlayback(data) @@ -491,7 +489,7 @@ class Player(xbmc.Player): self.logMsg("Transcoding for %s terminated." % itemid, 1) deviceId = self.clientInfo.getDeviceId() url = "{server}/emby/Videos/ActiveEncodings?DeviceId=%s" % deviceId - doUtils(url, type="DELETE") + self.doUtils(url, type="DELETE") self.played_info.clear()