Add-on:XBMC Library Auto Update

From Official Kodi Wiki
Revision as of 14:40, 5 March 2012 by >Robweber
Jump to navigation Jump to search

XBMC Library Auto Update
http://mirrors.xbmc.org/addons/eden/service.libraryautoupdate/icon.png

See this add-on on the kodi.tv showcase

Author: robweber

Type: Program
Repo: Kodi.tv repo v21
Kodi.tv repo v20
Kodi.tv repo v19

Summary: Update your XBMC Video and Music Libraries on a timer. Recently rewritten to run as an XBMC Service.
Home icon grey.png   ▶ Add-ons ▶ XBMC Library Auto Update

This is an XBMC Service that will update your music and video libraries on a timer. You can select an interval to scan specific databases (Audio,Video,Both) or you can set a cron-style timer. 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.

Installing

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


Introduction

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!

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
   *   *   *   *  *


Example:

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

Source/Help

There is an ongoing thread in the XBMC Forum for this addon. This is a good place to start looking for help or mention any suggestions for further enhancements. All source files for this addon can be found via the Google Code page.