mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-03 06:46:12 +00:00
replaced auto play episode with custom nextup dialog, also added
ItemInfo and PersonInfo from the old addon
This commit is contained in:
parent
d4e44122ba
commit
44b22e7a67
14 changed files with 1741 additions and 26 deletions
|
@ -21,6 +21,7 @@ try:
|
|||
params = utils.get_params(sys.argv[2])
|
||||
mode = params['mode']
|
||||
id = params.get('id', None)
|
||||
name = params.get('name',None)
|
||||
except:
|
||||
params = {}
|
||||
mode = None
|
||||
|
@ -28,6 +29,12 @@ except:
|
|||
##### Play items via plugin://plugin.video.emby/ #####
|
||||
if mode == "play":
|
||||
entrypoint.doPlayback(id)
|
||||
|
||||
elif mode == "info":
|
||||
entrypoint.showInfo(id)
|
||||
|
||||
elif mode == "person":
|
||||
entrypoint.showPersonInfo(id,name)
|
||||
|
||||
##### DO DATABASE RESET #####
|
||||
elif mode == "reset":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue