jonib wrote:peppe_sr wrote:i would like to have a command to clean library from remote i found in the List of built-in functions this command: CleanLibrary(database). is there a way to set a command in the xbmc2 list to do this.
Sure

. Unfortunately I haven't finished adding the built-in functions directly, but you can still use them via the
Experimental\HTTPAPI action with command
ExecBuiltIn using
CleanLibrary(video) as parameter.
XBMC2CleanLibrary.PNG
If you haven't used the
HTTPAPI action before you need to press the Update button to download the syntax information, if that don't work you can still put in the command manually.
Hope this helps.
jonib
thanks alot for your quick answer.
i tried only yesterday but i have some trouble.
first of all when i edited the HTTPAPI action, after i have used the update button, i haven't found in "miscellaneous command" tab the sub-voice ExecuteBuiltIn, i found it in "broadcast command" tab so i used this one.
i have added this new action to a button of my remote to test the action but, as you can see in the image i had two kind of issues.
first: the site is running team viewer (and this is right, i have the team viewer on in my system).
so i have turned off the team viewer and tested again the command. in this second attemp i had a new messag "HTTPAPI connecction errore etc.....".
could you help me? could depend from the version of the plug in EG (my EG version is 0.4.1r1568. i don't know i'm new in this kind of software.
here some images to explane what i wrote.

config HTTPAPI

first message (team viewer on)

second message (team viewer off)
in each test the xbmc was running
thank you
peppe