Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
library cleaning should be faster with 15.0 beta1 if you want to give it a try
Posts: 77
Joined: Dec 2014
Reputation:
0
Well, I believe I've figured out why my database cleans are taking a long time.
I had a source on another computer configured and later removed it.
Now, if that computer is turned on, the database clean goes quick as anything.
If, however, the computer is not turned on and I don't have kodi configured to try and wake it, the database clean takes 3 minutes and a few seconds. That's 3 minutes longer than a database clean usually takes so I guess it's waiting for the system to wake up before continuing.
But like I said, the source is no longer configured in Kodi. Any ideas?
/ OSMC on Raspberry Pi 3 / Kodi 17 RC / FireTV Stick /
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
I think the usual method is to add the source back, then remove it again but this time answer "Yes" to the prompt. Probably best to do this while the server is up.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 77
Joined: Dec 2014
Reputation:
0
Will do.
Someone should post this as a bug.
/ OSMC on Raspberry Pi 3 / Kodi 17 RC / FireTV Stick /
Posts: 77
Joined: Dec 2014
Reputation:
0
2015-05-05, 01:40
(This post was last modified: 2015-05-05, 03:14 by leetwanker.)
UPDATE:
Brought the server online.
Added 3 sources from it.
Scanned everything into the database.
Update/Cleaned the library.
Removed sources.
Shut down server.
Rebooted Pi/Kodi.
Update/Cleaned the library again.
And it's still taking 3+ minutes Cleaning up library every time it scans. And only when that server isn't online.
Edit: Library's been cleaning since I posted this. Over 30 minutes now.
Edit 2: I got tired of waiting for the scan to finish. Deleted everything in ~/.kodi/userdata/Database/. Problem solved.
/ OSMC on Raspberry Pi 3 / Kodi 17 RC / FireTV Stick /