Kodi Community Forum

Full Version: CleanLibrary button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm on Linux and trying to configure some extra buttons for my harmony remote.
I'd like a clean library button and according to http://wiki.xbmc.org/?title=List_of_Built_In_Functions it should work like so:

<remote>
...
<yellow>CleanLibrary</yellow>
...

I also tried

CleanLibrary()

XBMC.CleanLibrary


but nome seems to work. If I assign somethign else to yellow, it works fine, so it's not the button setup itself that's the problem, just the command I try to use. What am I doing wrong?
Nobody knows this?
Anyone figure this out?

I too want to map a button on my remote to clean the library.
Please post full debug log ( pressing the button ).
Figured this out.

The command to use when mapping it to a button is:

Quote:XBMC.CleanLibrary(video)