[RELEASE] Texture Cache Maintenance utility
(2014-03-23, 15:32)SiliRat Wrote: or point me in the direction of a resource that might have the answers for me to research myself.

Maybe the source code? Smile

(2014-03-23, 15:32)SiliRat Wrote:
Code:
Cached        |  603
Deleted       |  0
Duplicate     |  3198
Error         |  1
Ignored       |  10
Season-all    |  0
Skipped       |  2461
Undefined     |  77
1) What is the significant of 'duplicate'? Are these image files that are duplicated in the database and need to be purged?
2) Why would something be ignored?
3) Why would things be skipped?
4) What is undefined in this context?
5) Is there a way to output a log file telling me what was duplicated, ignored, skipped or undefined?

Thanks for your time.

1) Have a look at a tvshow with "jd tvshows <tvshowname>". Notice how the tvshow poster artwork is repeated against each season entry, and then again against each episode within a season. Example: 1 tvshow, with 4 seasons, each with 10 episodes - that would be 1 + 4 + 40 instances of the same tvshow poster in your media libary. Obviously, 44 of those instances are "duplicates", as the texture cache only needs to cache the tvshow poster once. It's not an error, it's just the way the artwork data is somewhat redundantly represented within the media library.

2) There are two reasons (both of which would be recorded in the logfile if you had logfile enabled). Either you have specified a restricted number of artwork types to be cached (using the cache.artwork property) or you have artwork which is matching against one of the patterns in the cache.ignore.types property - this latter list usually contains "^video, ^music" in order to avoid caching "embedded" artwork.

3) When selectively caching, items will be "skipped" if they are already present in the cache. When forcing a cache update along with a value for the cache.refresh property, items will be skipped if they are present in the cache but have not been modified within the specified cache.refresh period.

4) It means you have an artwork entry in the media library for which there is no value, eg:
Code:
[
  {
    "art": {
      "clearart": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-clearart.png/",
      "clearlogo": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-logo.png/",
      "fanart": "",
      "poster": "image://nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip]-poster.jpg/"
    },
    "file": "nfs://192.168.0.3/mnt/share/media/Video/MoviesHD/Zombieland (2009)[BDRip].mkv",
    "label": "Zombieland",
    "movieid": 744,
    "title": "Zombieland"
  }
]

In the above example, fanart would be classified as "undefined".

5) Add @logfile=/path/to/your/logfile.log to your command line, or add it to your properties file (without the @). The log may not contain the categorisation of absolutely every item (for instance, undefined and duplicates are not logged as it's not typically useful, and also potentially excessive, particularly when dealing with music database) but it should give you some idea for most. Dumping your movies or tvshows to a file and searching/grepping is another way to find missing data, or run a qa check, it should flag up missing art (specify the art you require using the qa.art.* property fields, eg. default for tvshows is:
Code:
qa.art.tvshows.tvshow = fanart, banner, poster
qa.art.tvshows.season = poster
qa.art.tvshows.episode = thumb
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
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2014-03-23, 18:38
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
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17