XBMC will be renamed to Kodi for v14. Read here for more details

Add-on:XBMC Library Auto Update

From Kodi
Jump to: navigation, search

XBMC Library Auto Update
Author: robweber

Type: Program
Version: 0.9.4
Repo: XBMC.org (v13)
XBMC.org (v12)
XBMC.org (v11)

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

1 Installing

To install this add-on you must do so from the Add-on manager from within XBMC by going to:

  1. Settings
  2. Add-ons
  3. Get add-ons
  4. XBMC.org Add-ons
  5. Program Add-ons
  6. XBMC Library Auto Update
  7. Install

2 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!

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


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

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox