PEP8
This commit is contained in:
parent
391cbab0be
commit
2c2029437a
2 changed files with 4 additions and 7 deletions
|
@ -67,10 +67,9 @@ class Main():
|
||||||
self.play()
|
self.play()
|
||||||
|
|
||||||
elif mode == 'ondeck':
|
elif mode == 'ondeck':
|
||||||
entrypoint.getOnDeck(itemid,
|
entrypoint.on_deck_episodes(itemid,
|
||||||
params.get('type'),
|
params.get('tagname'),
|
||||||
params.get('tagname'),
|
int(params.get('limit')))
|
||||||
int(params.get('limit')))
|
|
||||||
|
|
||||||
elif mode == 'recentepisodes':
|
elif mode == 'recentepisodes':
|
||||||
entrypoint.recent_episodes(params.get('type'),
|
entrypoint.recent_episodes(params.get('type'),
|
||||||
|
|
|
@ -531,14 +531,12 @@ def extra_fanart(plex_id, plex_path):
|
||||||
xbmcplugin.endOfDirectory(HANDLE)
|
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
|
Retrieves Plex On Deck items, currently only for TV shows
|
||||||
|
|
||||||
Input:
|
Input:
|
||||||
viewid: Plex id of the library section, e.g. '1'
|
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"
|
tagname: Name of the Plex library, e.g. "My Movies"
|
||||||
limit: Max. number of items to retrieve, e.g. 50
|
limit: Max. number of items to retrieve, e.g. 50
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue