NOTICE: Account creation on the wiki has been temporarily disabled until the wiki is moved to OpenID. If you need an account before then, please request one here: http://forum.xbmc.org/showthread.php?tid=165868
Add-on:XBMC Library Auto Update
|XBMC Library Auto Update|
|See XBMC Library Auto Update on the XBMC Forum for more information.|
This is an XBMC Service that will update your music and video libraries on a timer. You can select a different interval to scan your media databases (Audio,Video,Both) or you can set a cron-style timer for greater control. If you are playing an audio or video file when the timer starts it can skip the library update process until it is completed so that you're media experience is not interrupted. Updating a specific Video Path, and Cleaning the Music/Video libraries is now supported.
To install this add-on you must do so from the Add-on Manager from within XBMC by going to:
- Get add-ons
- XBMC.org Add-ons
- Program Add-ons
- XBMC Library Auto Update
The XBMC Library Updater will update your music and/or video libraries according to times specified by you. Thanks to pkscuot for several small tweaks to this addon!
All source files for this addon can be found via the Github page.
3 How to use
A note on Timers:
Standard Timer - specify an interval to run the library update process. It will be launched every X hours within the interval unless on of the conditions specified by you as been met (don't run during media playback, etc) in which case it will be run at the next earliest convenience.
Advanced Timer - specify a cron expression to use as an interval for the update process. By default the expression will run at the top of every hour. More advanced expressions can be configured such as:
.--------------- minute (0 - 59) | .------------ hour (0 - 23) | | .--------- day of month (1 - 31) | | | .------ month (1 - 12) or Jan, Feb ... Dec | | | | .---- day of week (0 - 6) or Sun(0 or 7), Mon(1) ... Sat(6) V V V V V * * * * *
0 */5 ** 1-5 - runs update every five hours Monday - Friday 0,15,30,45 0,15-18 * * * - runs update every quarter hour during midnight hour and 3pm-6pm
Read up on cron for more information on how to create these expressions