mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
self doutils
This commit is contained in:
parent
481af3823f
commit
16f3bbf3e4
1 changed files with 2 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue