View Single Post
Posts: 149 | Thanked: 57 times | Joined on Dec 2009
#213
Originally Posted by mzanetti View Post
Yep, I'll remove it from there. Thanks.


The new API does not support that yet. However, now that I have added support for legacy commands anyways, I think I can add it. Haven't yet checked how the webinterface does it, so no promise so far.
Hi there, I've looked into this with Firebug:

For music clean:
The method called is
http://ip:8080/jsonrpc?SendRemoteKey
with the following parameters:
{"jsonrpc": "2.0", "method": "AudioLibrary.Clean", "id": 1}
and here's the response:
{"id":1,"jsonrpc":"2.0","result":"OK"}

For video clean:
{"jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": 1}
Response:
{"id":1,"jsonrpc":"2.0","result":"OK"}

Hope this helps
 

The Following User Says Thank You to javiermon For This Useful Post: