Posts: 8
Joined: Jan 2010
Reputation:
0
Hi, my XBMC is running 24/7 since my mediastation is also a router and a torrent box. So i never "start" xbmc but i also need to clean the library (removing erased files) and update new ones from time to time.
So my question is, is there any way to do this, say, every 2-3 hours? Is it possibile to issue this command via command line? Or using a python script?
Thanks.
Posts: 8
Joined: Jan 2010
Reputation:
0
2010-01-26, 11:45
(This post was last modified: 2010-01-26, 11:48 by johnuopini.)
Anyway i think this will be enaugh to clear and update everything (i hope this also clears erased files)
Thanks a lot!
Posts: 8
Joined: Jan 2010
Reputation:
0
Wow, thats a much better/cleaner solution, thanks!
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
nah, it connects to the event server through a public, non-protected connection - it's worse security wise. but hey! atleast it doesn't show any passwords eh.
Posts: 26
Joined: Jun 2006
Reputation:
0
Kieeps
Junior Member
Posts: 26
was thinking... does XBMC have to be running when you run /usr/bin/xbmc-send -a "UpdateLibrary(video)" and /usr/bin/xbmc-send -a "CleanLibrary(video)"? 'cus obvously it has to run to exec the curl command