Kodi Community Forum

Full Version: XBMC Always Updating Library on Start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Every time I start XBMC it first loads the PVR data, then it starts doing a library update. But I haven't selected the menu option to update the library on startup!

Is anybody else experiencing this? Is it a bug, or is there some way for me to turn the update on startup off?

This happens on both of my Ubuntu 12.04 boxes and my Windows XP box.
you may want to check your settings:
http://wiki.xbmc.org/index.php?title=Vid...ing_videos
---"Have XBMC scan for new items upon start up by going to Settings -> Video -> Library -> Update library on startup "
As I said, that option is NOT selected but it does it anyway. Hence my post.
Auto update addon? A debug log (wiki) would help.
(2013-06-27, 07:49)tfjield Wrote: [ -> ]As I said, that option is NOT selected but it does it anyway. Hence my post.

Sorry didnt quite catch that, was a late night, my apologies.
(2013-06-27, 16:12)transcender Wrote: [ -> ]Sorry didnt quite catch that, was a late night, my apologies.

No worries! Thanks for trying to help out!
(2013-06-27, 09:05)teeedubb Wrote: [ -> ]Auto update addon? A debug log (wiki) would help.

I have included my debug log here: xbmc.log

There are the following lines in my log:
Code:
11:35:33 T:140262760249088  NOTICE: Thread CVideoInfoScanner start, auto delete: false
11:35:33 T:140262760249088  NOTICE: VideoInfoScanner: Starting scan ..
11:36:47 T:140262760249088  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 01:14
11:36:47 T:140262760249088  NOTICE: Thread Jobworker start, auto delete: true
11:36:47 T:140263330658048  NOTICE: service.libraryautoupdate: Cleaning Database
11:36:47 T:140263708858240  NOTICE: CleanDatabase: Starting videodatabase cleanup ..
11:36:47 T:140262206592768  NOTICE: Thread Jobworker start, auto delete: true
11:36:48 T:140263330658048  NOTICE: service.libraryautoupdate: update timers
11:37:31 T:140263708858240  NOTICE: Previous line repeats 1 times.
11:37:31 T:140263708858240  NOTICE: CleanDatabase: Cleaning videodatabase done. Operation took 00:44
11:37:31 T:140262760249088  NOTICE: Thread Jobworker start, auto delete: true
11:39:04 T:140263708858240  NOTICE: Previous line repeats 1 times.

Why is this running? Yes, I am using the Addon XBMC Library Auto Update, but it is set to use an advanced timer and perform its updates at 3:30 am, which does run as scheduled. (Cron: 30 3 * * *)

I don't understand why it always runs on startup, as well, even though "Settings -> Video -> Library -> Update library on startup" is false.
Try disabling the auto-update add-on and restarting XBMC to see if it still does the auto-update at startup. If it doesn't, then it's an issue with the add-on rather than core XBMC.
(2013-06-28, 01:23)artrafael Wrote: [ -> ]Try disabling the auto-update add-on and restarting XBMC to see if it still does the auto-update at startup. If it doesn't, then it's an issue with the add-on rather than core XBMC.

Here's the new log with the Auto Updater disabled: xbmc.log

It's still running the update:

Code:
16:39:32 T:140020513371904  NOTICE: Thread CVideoInfoScanner start, auto delete: false
16:39:32 T:140020513371904  NOTICE: VideoInfoScanner: Starting scan ..
16:40:45 T:140020513371904  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 01:13
16:40:45 T:140020513371904  NOTICE: Thread Jobworker start, auto delete: true
16:42:18 T:140022350059392  NOTICE: Previous line repeats 1 times.
16:42:18 T:140022350059392  NOTICE: NFS is idle. Closing the remaining connections.

By the way, the reason I'm pursuing this isn't for this machine. This NUC is pretty fast and it only takes a minute or so to do the update, and while it's doing it, I can be doing other stuff. I have an older Windows machine that is practically unusable during the update, and that takes many minutes.
Try disabling the 1channel addon and see if that stops it
(2013-06-28, 03:20)Aenima99x Wrote: [ -> ]Try disabling the 1channel addon and see if that stops it

It looks like disabling 1channel stopped it! I'm guessing 1channel is calling update after it has processed subscriptions, to make sure they get added to the library. Good to know... I'll have to see if I can get 1channel to process subscriptions at a more convenient time.

Thanks guys!