mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-27 02:20:31 +00:00
Add support for upnext addon
This commit is contained in:
parent
6e06a6f5f7
commit
d77d619b50
2 changed files with 4 additions and 1 deletions
|
@ -65,9 +65,11 @@ class Monitor(xbmc.Monitor):
|
|||
data = json.loads(data)[0]
|
||||
|
||||
elif sender.startswith('upnextprovider'):
|
||||
method = method.split('.')[1]
|
||||
LOG.info('Attempting to play the next episode via upnext')
|
||||
method = '.'.join(method.split('.')[1:])
|
||||
|
||||
if method not in ('plugin.video.jellyfin_play_action',):
|
||||
LOG.info('Received invalid upnext method: %s', method)
|
||||
return
|
||||
|
||||
data = json.loads(data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue