[RELEASE] Texture Cache Maintenance utility
(2016-08-09, 19:24)jbeige Wrote: Hello Smile

This tool looks pretty awesome, and it does a multitude of things.. So many things that it's a bit overwhelming to look at without any other knowledge..

Some of my actor thumbnails are VERY low resolution files (like 10x10 pixel).. Is there an easy way with this tool to delete or re-scrape just the low res actor thumbs?

Thanks!

Possibly not.

The dimensions of the cast thumbnails are often encoded in the thumbnail urls of remote artwork, so if whatever created your cast thumbs uses 10x10 dimensions that's what you're stuck with. It's also possible to have local cast thumbs, in which case if they're only 10x10 then there's nothing to do but replace them all with better artwork.

You can view the cast urls as follows:
Code:
texturecache.py Jd movies avatar @extrajson.movies=cast

Example:
Code:
"cast": [
      {
        "name": "Sam Worthington",
        "order": 0,
        "role": "Jake Sully",
        "thumbnail": "image://http://ia.media-imdb.com/images/M/MV5BMTc5NTMyMjIwMV5BMl5BanBnXkFtZTcwNTMyNjYwMw@@._V1._SX275_SY400_.jpg/"
      },
      {
        "name": "Zoe Saldana",
        "order": 1,
        "role": "Neytiri (as Zo\u00eb Saldana)",
        "thumbnail": "image://http://ia.media-imdb.com/images/M/MV5BMjA4NDk1NTA1OV5BMl5BanBnXkFtZTcwMTIzMjQ4Ng@@._V1._SX275_SY400_.jpg/"
      },
      {
        "name": "Sigourney Weaver",
        "order": 2,
        "role": "Grace",
        "thumbnail": "image://http://ia.media-imdb.com/images/M/MV5BMTk1MTcyNTE3OV5BMl5BanBnXkFtZTcwMTA0MTMyMw@@._V1._SX275_SY400_.jpg/"
      },

You can see the dimensions SX275_SY400 at the end of each remote url.

Assuming however that your cast url dimensions are greater than 10x10, then forcibly recaching artwork might work (though I'm not sure why you only have 10x10 cached artwork in the first place - check your advancedsettings.xml for fanartres and imageres settings).

The following will re-cache only cast thumbs for the movie Avatar:
Code:
texturecache.py C movies avatar @cache.castthumb=yes @cache.artwork=cast.thumb

Note however that if any remote urls are no longer available then re-caching may mean you "lose" that particular artwork from your cache (this isn't really specific to cast artwork, it's just a general problem when using remote artwork that comes and goes).
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
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2016-08-09, 21:26
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 utility17