This commit is contained in:
SpootDev 2016-04-04 16:21:05 -05:00
parent d78c04d67f
commit d080c49821
6 changed files with 174 additions and 175 deletions

View file

@ -208,7 +208,7 @@ class Player(xbmc.Player):
# Post playback to server
self.logMsg("Sending POST play started: %s." % postdata, 2)
self.doUtils(url, postBody=postdata, type="POST")
self.doUtils(url, postBody=postdata, action_type="POST")
# Ensure we do have a runtime
try:
@ -480,7 +480,7 @@ class Player(xbmc.Player):
url = "{server}/emby/Items/%s?format=json" % itemid
self.logMsg("Deleting request: %s" % itemid, 1)
self.doUtils(url, type="DELETE")
self.doUtils(url, action_type="DELETE")
self.stopPlayback(data)
@ -489,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
self.doUtils(url, type="DELETE")
self.doUtils(url, action_type="DELETE")
self.played_info.clear()
@ -508,4 +508,4 @@ class Player(xbmc.Player):
'MediaSourceId': itemId,
'PositionTicks': positionTicks
}
self.doUtils(url, postBody=postdata, type="POST")
self.doUtils(url, postBody=postdata, action_type="POST")