[RELEASE] Texture Cache Maintenance utility
Hi Milhouse

Thanks so much for the in-depth tutorial - I've read through 3x and my head is still spinning Oo

Mostly from the "gee, I've made a mess here" line of thinking. Clearly I need a new set of Best Practices for handling my library.

Your point about repeated Exports degrading the images makes me want to nuke-em-all, and start over fresh. But I'm sure it's not that straightforward and pitfalls await around every corner ! Fortunately, it seems like only the movies class is affected.

If I understand correctly, I don't want to re-scrape the whole collection, just use your scripts to refresh the Artwork - and stay away from Exporting to Local (ie: overwriting full-res images in the movie folders with lower-rez versions from the Thumbnail folders).

How does this sound for a plan:

1) copy all my non-supported-movie-artwork (ie: everything but "-fanart" & "-poster") to a safe place. I can retrieve any custom things from there, once the re-downloading is complete.

2) do an "Xd" run to weed out orphaned database rows

3) do a "P" run to get out the cruft from the texture cache (heh-heh... love that word)

4) delete all artwork image files from the local folders (where the movie files live), in order to force the next step to fetch ALL NEW copies

5) run mklocal.py to populate the media folders with fresh, full-rez version of each artwork element

6) do a "set" run to point all database references to the local copies instead of http:// sources

7) scroll through kodi MOVIES collection to identify missing elements (principally -banner images)... retrieve missing files from offline backup (step 1)

8) do a "c movies" run to cache the homemade images (which should still be in the database from the manual "Choose art..." actions of the past)

I think that will get me to a good, high-quality-image state.

Comments and corrections are much appreciated. Thanks for playing...

ps: there are a few other considerations before pulling the trigger, but that can wait till the full light of day.
::  LibreELEC 9.0.0 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.1-U7 (RAID-Z2)  ::
Thread Rating:
  • 17 Vote(s) - 4.76 Average

Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gjwAudio - 2016-01-20, 10:51
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

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617