Where to get it....
Test version - Version 1.0.1 -> https://www.dropbox.com/s/19jarh5fnkg29o...-1.0.1.zip
What it does.....
This service add-on will allow you to trigger built in XBMC functions on a schedule. This can be extremely useful. The script offers three built-in function schedules and 10 customizable schedules. The three built-in function are Video Library update, Music Library update and cdART Manager functions. The 10 customizable can be any XBMC Built-in function
How to use it.....
The key to The Scheduler is its settings. The settings are accessible from the Settings > Addons > Enabled Add-ons(if enabled), or Disabled Add-ons(if disabled) > Services > The Scheduler > Configure. You will need to disable the add-on first before entering the settings. After the settings have been changed and saved. you then would Enable the addon.
The First setting screen you are presented with is the XBMC Library scheduling. From here you are able to have XBMC to automatically update your Video and Music libraries.
You have two options here - Enable Video Library Scheduling and Enable Music Library Scheduling. These are both basic Library updates, nothing special, if something special is needed, then you will need to use the custom schedules.
Enabling the schedule opens the settings for that schedule:
The settings shown are 'Type of schedule' and the timing factor of the schedule.
The available Types of schedules:
Daily - Happens once a day at a specified time(at 2am)
Weekly - Happens once a week on a specified day and at a specified time(ie Sunday at 2am)
Hourly - Happens at the specified hour interval(the selection is 1, 2, 4, 8, 12hrs)
The script uses a 24hr clock for simplicity, ie 1pm = 13:00, 2pm = 14:00, 12am = 00:00 )
Since this is an addon I created, of course I also built-in cdART Manager background functions.
cdART Manager schedule settings:
The schedule is broken up into two sections, downloading and updating. Downloading is for scheduling the artwork to be downloaded in background. Updating is for scheduling the update of the add-ons database(also done in the background)
The first two settings allow you to disable the function if one of the Libraries are in the process of being updated.
The next group of options sets the type of schedule.
The final option is the artwork download mode. The available modes are: All Artwork, cdARTs, Cover Arts, Fanarts, clearLOGOs, Artist Thumbnails, Artist Music Banners.
The final type of schedule is the custom type. There are 10 of these spaces available. They follow the same flow as the other schedules. The only difference is that you can set the built-in function.
The Built-in script setting is where you would put the built-in function
An example of this is the RunScript function:
This would call the cdART Manager in the update function. There are many add-ons that can be started with specific option. These are often posted on the add-on thread page.
The final part of the settings are some options(Extra Settings)
The first option is to enable the default interval(15 minutes) that the add-on will look to see if another schedule is needing to be triggered. Disabling will bring an option to set the desired time(with a range of 1 to 60 minutes).
The last option is to enable File logging for the trigger points of the add-on it will log whenever the schedules are triggered, with a time and the actual built-in function.