2020-10-13, 21:15
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!
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!