Error on execution : executeJSONRPC
#1
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
Reply
#2
(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 ?
Reply

Logout Mark Read Team Forum Stats Members Help
Error on execution : executeJSONRPC0