mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-05 07:46:12 +00:00
cleanup
This commit is contained in:
parent
d78c04d67f
commit
d080c49821
6 changed files with 174 additions and 175 deletions
|
@ -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")
|
Loading…
Add table
Add a link
Reference in a new issue