2016-11-18, 06:10
(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.