mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-02 06:16:11 +00:00
WORK IN PROGRESS !!!
switch playback handling to playbackinfo method supported by server
This commit is contained in:
parent
8b0164d5a3
commit
e4e05a143f
2 changed files with 230 additions and 3 deletions
|
@ -508,4 +508,11 @@ class Player(xbmc.Player):
|
|||
'MediaSourceId': itemId,
|
||||
'PositionTicks': positionTicks
|
||||
}
|
||||
self.doUtils(url, postBody=postdata, action_type="POST")
|
||||
self.doUtils(url, postBody=postdata, action_type="POST")
|
||||
|
||||
#If needed, close any livestreams
|
||||
livestreamid = window("emby_%s.livestreamid" % self.currentFile)
|
||||
if livestreamid:
|
||||
url = "{server}/emby/LiveStreams/Close"
|
||||
postdata = { 'LiveStreamId': livestreamid }
|
||||
self.doUtils(url, postBody=postdata, action_type="POST")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue