[RELEASE] Texture Cache Maintenance utility
@bob77 the problem is definitely the fact that Kodi 18 is not matching the requested Files.GetDirectory path with a source in your sources.xml.

Did you restart Kodi after adding the new source to sources.xml, as sources.xml is only read once at startup.

If you have restarted kodi then try adding:

<name>Drive 1 - Movies</name>
<path pathversion="1">E:\\-=Movies=-\\</path>
and see if that helps (this is just a reach, as I have no other ideas).

I've tested adding a new source to sources.xml and this is working on Linux.

Before I added it, a Files.GetDirectory query would fail:

$ texturecache.py directory /var
Directory "/var" not found.

and checking the texturecache log:

2019-02-16 16:15:18.904981:MainThread: libDirectory.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"directory": "/var", "media": "files", "properties": ["file", "lastmodified"]}, "method": "Files.GetDirectory", "id": "libDirectory"}]
2019-02-16 16:15:18.905551:MainThread: RPC connection established with IPv4
2019-02-16 16:15:18.932971:MainThread: libDirectory.BUFFER RECEIVED (len 89)
2019-02-16 16:15:18.933073:MainThread: libDirectory.PARSING JSON DATA: {"error":{"code":-32602,"message":"Invalid params."},"id":"libDirectory","jsonrpc":"2.0"}

the expected Invalid params. response is seen. And in kodi.log:

2019-02-16 16:15:18.907 T:1617810288 DEBUG: CUtil::GetMatchingSource: no matching source found for [/var]

Next, I edited sources.xml and added the new video source:

<path pathversion="1">/var/</path>

and after restarting Kodi, the Files.GetDirectory query works as expected:

$ texturecache.py directory /var
DIR : /var/cache
DIR : /var/empty
DIR : /var/lib
DIR : /var/lock
DIR : /var/log
DIR : /var/media
DIR : /var/run
DIR : /var/spool
DIR : /var/tmp

If this process isn't working for you on Windows, then maybe there is a problem with Windows and it should be reported as a Kodi bug.
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.
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
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
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2019-02-16, 18:21

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617