Clean Library command?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tret Offline
Member
Posts: 77
Joined: Aug 2008
Reputation: 0
Post: #1
Hi guys,

I am using the following command in a sabnzbd script to update my xbmc library when a new download becomes available.

Code:
wget --delete-after 'http://'$XBMC_IP'/xbmcCmds/xbmcHttp?command=ExecBuiltIn&parameter=XBMC.updatelibrary(video)' >/dev/null 2>&1

Is there something similar I can use to run "clean library"?

If not via the web server, I would be fine with mapping something to my remote via keymap.xml but as of yet I haven't found anything for this. In fact I would prefer to run "clean library" via the remote if possible, but I'll take anything I can get!

Anyone have any ideas?

tret
(This post was last modified: 2008-10-24 07:29 by tret.)
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,341
Joined: Jan 2008
Reputation: 2
Location: US
Post: #2
There was already a post about this recently.

Enable clean library in advancedsettings.xml -- refer to the wiki

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote