mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-20 16:25:08 +00:00
Support up next
This commit is contained in:
parent
5808c449c4
commit
c3fbdf082c
5 changed files with 110 additions and 18 deletions
|
@ -159,6 +159,13 @@ def get_next(index=None, limit=1):
|
|||
'StartIndex': None if index is None else int(index)
|
||||
})
|
||||
|
||||
def get_adjacent_episodes(show_id, item_id):
|
||||
return shows("/%s/Episodes" % show_id, {
|
||||
'UserId': "{UserId}",
|
||||
'AdjacentTo': item_id,
|
||||
'Fields': "Overview"
|
||||
})
|
||||
|
||||
def get_genres(parent_id=None):
|
||||
return _get("Genres", {
|
||||
'ParentId': parent_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue