Optimize import

This commit is contained in:
tomkat83 2016-09-10 11:48:29 +02:00
parent 497d71cacc
commit 8070e921ed

View file

@ -3,7 +3,7 @@
###############################################################################
import logging
import urllib
from urllib import urlencode
from ntpath import dirname
from datetime import datetime
@ -394,7 +394,7 @@ class Movies(Items):
'dbid': movieid,
'mode': "play"
}
filename = "%s?%s" % (path, urllib.urlencode(params))
filename = "%s?%s" % (path, urlencode(params))
playurl = filename
# movie table:
@ -906,7 +906,7 @@ class TVShows(Items):
'dbid': episodeid,
'mode': "play"
}
filename = "%s?%s" % (path, tryDecode(urllib.urlencode(params)))
filename = "%s?%s" % (path, tryDecode(urlencode(params)))
playurl = filename
parentPathId = self.kodi_db.addPath(
'plugin://plugin.video.plexkodiconnect.tvshows/')