[RELEASE] Texture Cache Maintenance utility
(2016-11-18, 05:00)Simorgh Wrote: The reason that texturesache.py can't cache those animated GIFs, can it be that I have to identify the 10.0.1.122 machine in the .cfg file as client or something?!

Sort of, yes.

The problem is that you're using a shared library which references GIF artwork that is only accessible to one client (10.0.1.122) and not your other clients because the path you're using for the GIFs maps to a local path rather than a networked path.

When you cache the library on any of your clients, each client is going to see (via the library) that these GIFs are associated with the movie and need to be cached, but only 10.0.1.122 has any chance of caching these files which don't exist on your other two clients. So you'll get "can't download" errors on the two clients that physically can't access the GIF files.

Your solutions are to:

1) ignore GIFs on the two clients other than 10.0.1.122 by using a suitable "cache.ignore.types" pattern (eg. ".*/animatedgifs/.*.gif$" should work, ignoring any gifs in the animatedgifs folder)
2) use a network resource as the location of the GIFs instead of burying them in the local Thumbnails folder, so that all your clients can physically access (and therefore cache) them

Assuming you have no plans to deploy Aeon MQ 7 to your other two clients, #1 is the easiest solution. Let's say you're running texturecache.py on your RPi3 server (without GIFs), and you have a lounge client (Aeon MQ 7 with local GIFs) and a bedroom client (Estuary skin, with no GIFs). Your texturecache.cfg should look something like:

Code:
# Common properties go here

# set a default section
section=server

[server]
kodi.host=10.0.1.120
cache.ignore.types=+.*/animatedgifs/.*.gif$

[bedroom]
kodi.host=10.0.1.121
cache.ignore.types=+.*/animatedgifs/.*.gif$

[lounge]
kodi.host=10.0.1.122

and now you can use "texturecache.py @section=lounge c movies" to cache everything including those gifs (assuming Kodi is willing to cache gifs - still no idea on that), and "texturecache.py @section=bedroom c movies" to cache everything apart from gifs.
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 - 2016-11-18, 06:10
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