This commit is contained in:
Croneter 2018-06-15 14:11:17 +02:00
parent 391cbab0be
commit 2c2029437a
2 changed files with 4 additions and 7 deletions

View file

@ -67,8 +67,7 @@ class Main():
self.play()
elif mode == 'ondeck':
entrypoint.getOnDeck(itemid,
params.get('type'),
entrypoint.on_deck_episodes(itemid,
params.get('tagname'),
int(params.get('limit')))

View file

@ -531,14 +531,12 @@ def extra_fanart(plex_id, plex_path):
xbmcplugin.endOfDirectory(HANDLE)
def getOnDeck(viewid, mediatype, tagname, limit):
def on_deck_episodes(viewid, tagname, limit):
"""
Retrieves Plex On Deck items, currently only for TV shows
Input:
viewid: Plex id of the library section, e.g. '1'
mediatype: Kodi mediatype, e.g. 'tvshows', 'movies',
'homevideos', 'photos'
tagname: Name of the Plex library, e.g. "My Movies"
limit: Max. number of items to retrieve, e.g. 50
"""