From 18c6d8f78486c68a4a6ea7247e25b2c6ff1f9426 Mon Sep 17 00:00:00 2001 From: Croneter Date: Fri, 15 Jun 2018 14:01:09 +0200 Subject: [PATCH] Remove obsolete argument --- default.py | 3 +-- resources/lib/entrypoint.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/default.py b/default.py index 6a2ce64c..20aece07 100644 --- a/default.py +++ b/default.py @@ -73,8 +73,7 @@ class Main(): int(params.get('limit'))) elif mode == 'recentepisodes': - entrypoint.recent_episodes(itemid, - params.get('type'), + entrypoint.recent_episodes(params.get('type'), params.get('tagname'), int(params.get('limit'))) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 734f52bb..f7855b46 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -375,7 +375,7 @@ def in_progress_episodes(tagname, limit): xbmcplugin.endOfDirectory(handle=HANDLE) -def recent_episodes(viewid, mediatype, tagname, limit): +def recent_episodes(mediatype, tagname, limit): """ List the recently added episodes for tagname """