2022-04-15, 21:13
Yes i do have a very very large library but the cleaning process is longer than with 18.x versions. I am using MySQL for the DB
What has really made it worse now is that it seems that it cleans the WHOLE library even when you update a single show.
I have the <cleanonupdate> setting to true in my advancedsettings.xml and in versions prior to 19.x, when i updated a single show, the cleaning process was way less than 1 minute.
Now, it takes a full 10 minutes to clean a 6 episode show. That makes no sense.
My theory is that it is doing a full clean instead of just the specific show being updated. In the log, you can see it complaining about 2 show folders that haven't existed in months. Those are not folders for the one show i am updating so why is it trying to clean shows that don't even exist anymore?
The cleaning process goes to 99% in about 5 seconds and then stays at 99% for another almost 10 minutes.
My advancedsettings.xml:
Relevant parts of the log:
Full log: https://paste.kodi.tv/zapinozima.kodi
Before you ask for the full debug log, i don't see the point of it just listing all my TV Shows it's trying to clean. Clearly it is not cleaning that 1 show but all my shows. But if you absolutely need it, i will find a small show and rename 1 file then run the update...
What has really made it worse now is that it seems that it cleans the WHOLE library even when you update a single show.
I have the <cleanonupdate> setting to true in my advancedsettings.xml and in versions prior to 19.x, when i updated a single show, the cleaning process was way less than 1 minute.
Now, it takes a full 10 minutes to clean a 6 episode show. That makes no sense.
My theory is that it is doing a full clean instead of just the specific show being updated. In the log, you can see it complaining about 2 show folders that haven't existed in months. Those are not folders for the one show i am updating so why is it trying to clean shows that don't even exist anymore?
The cleaning process goes to 99% in about 5 seconds and then stays at 99% for another almost 10 minutes.
My advancedsettings.xml:
xml:
<videolibrary>
<hideallitems>true</hideallitems>
<recentlyaddeditems>300</recentlyaddeditems>
<cleanonupdate>true</cleanonupdate>
<dateadded>1</dateadded>
</videolibrary>
Relevant parts of the log:
Code:
2022-04-15 14:31:57.628 T:20356 INFO <general>: CVideoDatabase::CleanDatabase: Starting videodatabase cleanup ..
2022-04-15 14:31:57.724 T:20356 ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting smb://CNS-TVSERVER/TV Shows 02/30 Days/Season 1/
2022-04-15 14:31:57.731 T:20356 ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting smb://CNS-TVSERVER/TV Shows 02/30 Days/Season 2/
2022-04-15 14:31:57.740 T:20356 ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting smb://CNS-TVSERVER/TV Shows 02/30 Days/Season 3/
2022-04-15 14:31:57.744 T:20356 ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting smb://CNS-TVSERVER/TV Shows 02/According to Jim/Season 1/
2022-04-15 14:35:46.059 T:12196 INFO <general>: TAG-GEN: Starting IMDb tag writing.
2022-04-15 14:35:46.069 T:11228 INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-04-15 14:41:37.477 T:20356 INFO <general>: CVideoDatabase::CleanDatabase: Cleaning videodatabase done. Operation took 09:39
2022-04-15 14:41:37.483 T:20356 INFO <general>: VideoInfoScanner: Finished scan. Scanning for video info took 09:55
Full log: https://paste.kodi.tv/zapinozima.kodi
Before you ask for the full debug log, i don't see the point of it just listing all my TV Shows it's trying to clean. Clearly it is not cleaning that 1 show but all my shows. But if you absolutely need it, i will find a small show and rename 1 file then run the update...