Leave 'movies' in addon path in Kodi DB

This commit is contained in:
croneter 2018-02-17 14:06:01 +01:00
parent a1eb926dc3
commit fe6ccad959

View file

@ -259,7 +259,7 @@ class Movies(Items):
trailer = api.trailer_id()
if trailer:
trailer = ('plugin://%s?plex_id=%s&plex_type=%s&mode=play'
trailer = ('plugin://%s/movies/?plex_id=%s&plex_type=%s&mode=play'
% (v.ADDON_ID, trailer, v.PLEX_TYPE_CLIP))
# GET THE FILE AND PATH #####
@ -283,7 +283,7 @@ class Movies(Items):
path = playurl.replace(filename, "")
if do_indirect:
# Set plugin path and media flags using real filename
path = 'plugin://%s' % v.ADDON_ID
path = 'plugin://%s/movies/' % v.ADDON_ID
params = {
'mode': 'play',
'plex_id': itemid,