[RELEASE] Texture Cache Maintenance utility
Cleaning/Rescanning won't work, you'll need to drop your entire database and re-scrape for it to pick up your changes. That's why Video1NameTest works.

You can however use mklocal.py to update your library with the updated artwork filenames - it will run through your media library and correct any local artwork filenames.

Try something like:
Code:
texturecache.py jd movies >movies.dat
cat movies.dat | mklocal.py --local /freenas/media --prefix nfs://192.168.0.3/mnt/share/media --artwork poster fanart clearlogo clearart --readonly > changes.dat

Change the --local and --prefix arguments to suit your setup - --local is the OS path for your media, --prefix is how this media is accessed by Kodi.

Specify whatever artwork types you want to process using the --artwork argument.

The --readonly argument means that no remote artwork will be downloaded and stored locally, only your existing local artwork will be processed.

Once you have run the above, look at the contents of the changes.dat file to see if the proposed changes make sense - it should be replacing your */poster.jpg filenames with */*-poster.jpg.

To apply the changes to your media library, run the following command (in Gotham this can be very slow, but a lot quicker in Helix):

Code:
cat changes.dat | texturecache.py set

You may then want to re-cache the new artwork once the new filenames have been applied (texturecache.py c movies).
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
 
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 Milhouse - 2014-11-28, 02:37
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