From a4f4d0b7a7787e7d84b23b2fefea36932976a180 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 5 Feb 2018 20:49:17 +0100 Subject: [PATCH] Remove obsolete code --- resources/lib/itemtypes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 3576baa4..d1a73f72 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -5,10 +5,9 @@ from logging import getLogger from urllib import urlencode from ntpath import dirname from datetime import datetime -from xbmc import sleep import artwork -from utils import tryEncode, tryDecode, window, kodiSQL, CatchExceptions +from utils import window, kodiSQL, CatchExceptions import plexdb_functions as plexdb import kodidb_functions as kodidb @@ -918,7 +917,7 @@ class TVShows(Items): 'plex_type': v.PLEX_TYPE_EPISODE, 'mode': 'play' } - filename = "%s?%s" % (path, tryDecode(urlencode(params))) + filename = "%s?%s" % (path, urlencode(params)) playurl = filename parentPathId = self.kodi_db.addPath( 'plugin://plugin.video.plexkodiconnect/tvshows/')