Help with VideoLibrary.RemoveTVShow - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Help with VideoLibrary.RemoveTVShow (/showthread.php?tid=357689) |
Help with VideoLibrary.RemoveTVShow - teriyaki - 2020-10-13 I'd like to completely remove a tv show from my library so I fetch the show id, 498, try to do a VideoLibrary.RemoveTVShow and then a VideoLibrary.Clean once RemoveTVShow works. I can't figure out what's wrong with this: curl -X POST -H "content-type:application/json" http://test:[email protected]:8080/jsonrpc -d '{ "jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.RemoveTVShow", "params": { "tvshowid", 498 } }' it returns: {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"} Any help would be greatly appreciated! RE: Help with VideoLibrary.RemoveTVShow - teriyaki - 2020-10-13 Nevermind.. {"tvshow", 498} should've been {"tvshow": 498} ..... oopsy! If any mod see's this, please feel free to delete the thread. Thanks |