mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-28 11:56:12 +00:00
jellyfin_kodi/{jellyfin/api,player}.py: Add missing "PlaySessionId" argument to close_transcode().
Without this argument, server always returns 400.
This commit is contained in:
parent
f3c2f1a7a5
commit
9b2d499a9c
2 changed files with 4 additions and 3 deletions
|
@ -356,9 +356,10 @@ class API(object):
|
|||
'LiveStreamId': live_id
|
||||
})
|
||||
|
||||
def close_transcode(self, device_id):
|
||||
def close_transcode(self, device_id, play_id):
|
||||
return self._delete("Videos/ActiveEncodings", params={
|
||||
'DeviceId': device_id
|
||||
'DeviceId': device_id,
|
||||
'PlaySessionId': play_id
|
||||
})
|
||||
|
||||
def get_default_headers(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue