Kodi Community Forum
Error on execution : executeJSONRPC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: Error on execution : executeJSONRPC (/showthread.php?tid=360496)



Error on execution : executeJSONRPC - ray.lp - 2021-02-14

Hello,
I made a script to change the genres directly in kodi (database) and also manage the films in directories
I can do everything except change the location of the film "c22 in the database"
my command to change the location of the movie:

  command = ('{"jsonrpc": "2.0", "method": "VideoLibrary.SetMovieDetails", "id": 1, "params": {"file": "% s", "moviesid":% s} } '% (filecible, self.idfilm))
then:
    data = xbmc.executeJSONRPC (command)
send me an error

Is that in the kodi source changing the location of the movie (database: c22) is allowed?
thank you
best regards ray.lp


RE: Error on execution : executeJSONRPC - ray.lp - 2021-02-14

(2021-02-14, 16:56)ray.lp Wrote: Hello,
I made a script to change the genres directly in kodi (database) and also manage the films in directories
I can do everything except change the location of the film "c22 in the database"
my command to change the location of the movie:

  command = ('{"jsonrpc": "2.0", "method": "VideoLibrary.SetMovieDetails", "id": 1, "params": {"file": "% s", "moviesid":% s} } '% (filecible, self.idfilm))
then:
    data = xbmc.executeJSONRPC (command)
send me an error

Is that in the kodi source changing the location of the movie (database: c22) is allowed?
thank you
best regards ray.lp

edit : what is the command for scan to library on a movie ?