Fix plugin paths & Attempt to fix photos

Emby removed photos library. Now it's homevideo and photos. Had to tweak
a few things.
Update plugin patha to properly encode naming.
This commit is contained in:
angelblue05 2017-11-08 22:42:48 -06:00
parent 81e8da575a
commit c0012582c8
4 changed files with 58 additions and 23 deletions

View file

@ -3,14 +3,13 @@
##################################################################################################
import logging
import urllib
from ntpath import dirname
import api
import embydb_functions as embydb
import _kodi_tvshows
from _common import Items, catch_except
from utils import window, settings, language as lang
from utils import window, settings, language as lang, plugin_path
##################################################################################################
@ -630,7 +629,7 @@ class TVShows(Items):
'dbid': episodeid,
'mode': "play"
}
filename = "%s?%s" % (path, urllib.urlencode(params))
filename = plugin_path(path, params)
##### UPDATE THE EPISODE #####
if update_item: