Posts: 1,435
Joined: Jun 2012
Reputation:
11
cw-kid
Posting Freak
Posts: 1,435
2012-06-14, 14:22
(This post was last modified: 2012-06-14, 14:48 by cw-kid.)
Hello
Are there any settings in XBMC Eden to enable this? So that the Movies / TV Shows / Music and Video Libraries are automatically updated ?
Or do I need to install some addon ?
Ideally if I add new content to my file server, it just automatically appears in the XBMC library, likewise if I delete content off the file server the item(s) are automatically removed from XBMC. Is this possible?
I've seen in the Settings - Video - Library - Update Library on Startup option but on a dedicated HTPC I would leave XBMC open all the time and just put the PC to S3 Sleep. So the XBMC application would not be closed / opened etc.
My current Windows Media Center / My Movies system does this but looking at moving to XBMC instead.
Thanks.
Posts: 52
Joined: Jul 2011
Reputation:
0
Yes make the leap it will blow your sock off lol there a setting in xbmc to scan on startup and can make so it scan in the background. There is also a delete once watch some cant remember off hand tho .
Also there a setting which rescan about every 3hour don't now I turn that on I just see a message rescan in .....
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Be carefull cause if your remote drives aren't available this will wipe your library
Posts: 1,292
Joined: Sep 2009
Reputation:
71
The xbmc auto updater addon will do what you are asking. You can set a timer or cron expression to auto update the library. There is also a "check paths" option when auto cleaning the library that makes sure all of your sources exist before attempting a clean. This resolves the issue of a non-connected network connection.
The only caveat is that the computer must be awake to perform these functions. If the computer is asleep there isn't any processing happening.
Posts: 4
Joined: Jul 2013
Reputation:
0
Does anyone know how to set the cron expression to update ever 5 minutes of the day? I have tried to figure out the code buttttt.. no luck..
Posts: 1,292
Joined: Sep 2009
Reputation:
71
Cron for every five minutes should be:
*/5 * * * *
Posts: 209
Joined: Jul 2011
Reputation:
1
Bit of a necropost, because I cannot figure out how to cron.
I'd like XBMC to autoupdate/clean music and vids daily around 3 am. Which cron value should I use?
Posts: 1,292
Joined: Sep 2009
Reputation:
71
Simple way to remember cron syntax is that you are dealing with 5 values minutes, hours, days of month, month of year, day of week - in that order. The wildcard value (*) basically means all values, so for 3am every day you'd want:
0 3 * * *
This is the top of the hour, 0 minute, on the 3rd hour of the day, and then the wildcards will trigger every day on every month.
Posts: 658
Joined: Jul 2011
Reputation:
1
2013-11-20, 01:41
(This post was last modified: 2013-11-20, 01:42 by StinDaWg.)
Is there a reason why auto update of library isn't built into XBMC after all these years? Having to rely on third party authors for such a necessary feature is a little perplexing to me. If you leave XBMC open all day an addon is practically required if you want to scrape any new content. I use Watchdog, but what if the author stops supporting it or XBMC code changes something in the future? Seems it would be easier to just include the functionality inside XBMC settings and provide an on or off toggle.
Posts: 11
Joined: Feb 2014
Reputation:
0
I'm trying to get it to run every 30 minutes offset by 5 minutes (for example it would run at 8:05, 8:35, 9:05, 9:35, 10:05, 10:35, and so forth)
I tried this but it doesn't seem to work: 5/30 * * * *
Any ideas? Thanks.
Posts: 31,445
Joined: Jan 2011
Since v13 this should be a little better. XBMC/Kodi should prevent removal during a clean if it thinks the whole source is not available.