mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-16 05:06:13 +00:00
Get resume from Kodi arguments
This commit is contained in:
parent
65225cba9e
commit
6f00779d73
3 changed files with 6 additions and 18 deletions
|
@ -70,6 +70,7 @@ class Events(object):
|
|||
elif mode == 'play':
|
||||
|
||||
item = TheVoid('GetItem', {'Id': params['id'], 'ServerId': server}).get()
|
||||
item["resumePlayback"] = sys.argv[3].split(":")[1] == "true"
|
||||
Actions(server).play(item, params.get('dbid'), params.get('transcode') == 'true', playlist=params.get('playlist') == 'true')
|
||||
|
||||
elif mode == 'playlist':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue