mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
still error in remove-episode
This commit is contained in:
parent
09e62d570c
commit
c0a26c2596
1 changed files with 2 additions and 2 deletions
|
@ -421,9 +421,9 @@ class WriteKodiDB():
|
||||||
xbmcvfs.rmdir(path)
|
xbmcvfs.rmdir(path)
|
||||||
|
|
||||||
def deleteEpisodeFromKodiLibrary(self, episodeid ):
|
def deleteEpisodeFromKodiLibrary(self, episodeid ):
|
||||||
utils.logMsg("deleting movie from Kodi library",id)
|
utils.logMsg("deleting episode from Kodi library",episodeid)
|
||||||
|
|
||||||
json_response = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodeDetails", "params": { "episodeid": %i}, "properties" : ["file","episodeid"] }, "id": "libTvShows"}' %(int(episodeid)))
|
json_response = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodeDetails", "params": { "episodeid": %i}, "properties" : ["file","episodeid"] }, "id": 1}' %(int(episodeid)))
|
||||||
jsonobject = json.loads(json_response.decode('utf-8','replace'))
|
jsonobject = json.loads(json_response.decode('utf-8','replace'))
|
||||||
|
|
||||||
print jsonobject
|
print jsonobject
|
||||||
|
|
Loading…
Reference in a new issue