Add-on:XBMC Library Auto Update

From Official Kodi Wiki
Revision as of 04:35, 28 November 2021 by Addonbot (talk | contribs) (Addon-Bot repo category update)
Jump to navigation Jump to search

XBMC Library Auto Update

See this add-on on the showcase

Author: robweber

Type: Program
Repo: repo v21 repo v20 repo v19

License: The MIT License
Source: Source code
Summary: Update your XBMC Video and Music Libraries on a timer. Timer runs as an XBMC service so you never miss an update.
Home icon grey.png   ▶ Add-ons ▶ XBMC Library Auto Update
Attention talk.png Need help with this add-on? See here.

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.


This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Program Add-ons
  5. XBMC Library Auto Update
  6. Install


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.

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