[RELEASE] Texture Cache Maintenance utility
Big changes, please report any problems (supplying a logfile with verbose option @logfile.verbose=yes really helps!)

Version 1.0.4
  • Add: New Texture JSON API (requires JSON API v6.10.0+).

    Access the Textures*.db database using JSON rather than via SQLite. Use @dbjson=no to force old SQLite behaviour, @dbjson=yes to force JSON API, or leave @dbjson undefined for auto-selection (ie. use JSON API when available, fall back to SQLite when not).

    When using JSON to access Textures*.db, only the following options still require direct file system access to the Userdata\Thumbnails folder: f, r, R, S, X, Xd. All other options (including prune, p and P) now require only a valid xbmc.host and no filesystem access so no need to mount a remote share while pruning a remote client.

    As pruning no longer has (or requires) access to the Thumbnails folder when using JSON API, I've had to remove the "orphan" warning at the end of the prune process.
  • Add: Ability to remove artwork urls from the media library with set option by specifyng url value of "null" (or null, or "") (requires JSON API v6.9.0+)
  • Add: Support for setting of season fields (requires JSON API v6.10.0+)
  • Add: Support for setting of set (movie set) fields (requires JSON API v6.12.0+)
  • Add: rdirectory option, a recursive version of directory
  • Add: jr and Jr options for "raw" JSON output that isn't guaranteed to be ASCII (urls will be decoded/unquoted, however)
  • Chg: For reasons of consistency, cache.ignore.types patterns no longer need to specify image:// prefix. Defaults are now: ^video, ^music. Old patterns that include ^image:// will be automatically corrected to remove image://.
  • Fix: Reworked charset encoding, hopefully saner than before, now with fewer conversions and increased consistency between Python2 & Python3.
  • Fix: Added some memory optimisations to try and reduce memory consumption on low memory devices (eg. R-Pi)
Update to tools/mklocal.py:
  • Replace --add argument with --artwork
  • Replace --nodownload/-n with --readonly/-r
  • Fix: Foreign encoding in filenames
See this post for a development build of OpenELEC for Raspberry Pi with the JSON v6.12.0 API.
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 - 2013-11-04, 21:57
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