[RELEASE] Texture Cache Maintenance utility
(2020-05-05, 18:52)rosede Wrote: I couldn't get texturecache.py to clean out the old missing fanart and posters, so I logged into the database and removed them manually.  I re-ran texturecache.py  attempting to re-cache the thumbnails and artwork.  At first all looked good.  Some of the missing items were recached, but others, were not.  There are several missing items that need to be recached, but texturedcache.py just skips them.

The mklocal.py script will fix these - there's a link at the bottom of the first post.

Basically you pipe the output of jd movies through mklocal.py and let it generate commands that will update your artwork - if the artwork doesn't exist or isn't accessible (and you specify the mklocal.py options --read-only --nokeep) then the command to remove the artwork will be generated. Then, finally, run the commands through texturecache.py to apply them to your library.

(2020-05-05, 18:52)rosede Wrote:
text:
Cache pre-load activity summary for "movies":

              |    fanart   |    poster   |  set.fanart |  set.poster |    thumb    |    TOTAL
--------------+-------------+-------------+-------------+-------------+-------------+-------------
Cached        |      -      |      -      |      -      |      -      |      -      |      0
Deleted       |      -      |      -      |      -      |      -      |      -      |      0
Duplicate     |      2      |      2      |      49     |      50     |      -      |     103
Error         |      57     |      61     |      20     |      20     |      -      |     158
Ignored       |      -      |      -      |      -      |      -      |      4      |      4
Skipped       |     262     |     284     |      40     |      42     |      -      |     628
Undefined     |      -      |      -      |      -      |      -      |      -      |      0
==================================================================================================
TOTAL         |     321     |     347     |     109     |     112     |      4      |     893
Download Time | 00:00:09.12 | 00:00:40.00 | 00:00:58.82 | 00:01:25.42 |      -      | 00:03:10.56

  Threads Used: 2
   Min/Avg/Max: 03.00 / 00.83 / 07.55 downloads per second
   Min/Avg/Max: 00.19 / 02.41 / 20.04 seconds per download

       Loading: 00:00:01.38
       Parsing: 00:00:00.24
     Comparing: 00:00:02.43
   Downloading: 00:03:10.59
 TOTAL RUNTIME: 00:03:14.89
 
I've enabled logging, but I don't see any errors.  Why can't texturecache.py recache these missing items?

Thanks

Daryl

The only line to worry about is the ERROR line - it says there were 158 errors, which would correspond to artwork items that cannot be downloaded by Kodi, so check your kodi log for errors.
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.
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2020-05-11, 19:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17