2019-11-22, 19:48
(2019-11-22, 16:24)IT007 Wrote: To put it simply, I'd like to have the texture cache updated when new media is scanned in to the database, but without having Kodi client PCs running or running Kodi. Can this be done at all? Hopefully you get the idea from my confusing explanation.
Not easily as the texture cache is not meant for sharing - the idea is that the texture cache is a local resource for each client. Maybe you can achieve something close to what you want with path substitution but that has all sorts of issues because, as said already, the texture cache is not meant to be shared.
What you really want is UPnP but that's still a work in progress.
What I'd suggest is that you scrape new content into a "master" instance of kodi, then iterate over your other kodi clients, waking them if required, cache all the new artwork, the put the client back to sleep (if it wasn't already awake). You can accomplish this by making various calls to texturecache.py and a bit of script work.