[RELEASE] Texture Cache Maintenance utility
@yhs4260 I've taken a look at your log, thanks.

The problem seems to be with Kodi, as it's returning the file paths without the slash when responding to a JSON-RPC Files.GetDirectory query.

The script queries Kodi for the contents of the Movies/2017 directory:
Code:
2017-08-29 09:53:51.966314:MainThread: libDirectory.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"directory": "http://10.8.0.1:40080/Movies/2017", "media": "files", "properties": ["file", "lastmodified"]}, "method": "Files.GetDirectory", "id": "libDirectory"}]
and Kodi replies with the following (edited to show a subset of movie data):
Code:
2017-08-29 09:53:52.503402:MainThread: libDirectory.PARSING JSON DATA: {"id":"libDirectory","jsonrpc":"2.0","result":{"files":[{"file":"http://10.8.0.1:40080/Movies/201768.Kill.2017.720p.WEB-DL.H264.AC3-EVO.mkv","filetype":"file","label":"68.Kill.2017.720p.WEB-DL.H264.AC3-EVO.mkv","lastmodified":"2017-08-15 18:06:00","type":"unknown"},{"file":"http://10.8.0.1:40080/Movies/2017A.Cure.for.Wellness.2017.720p.BRRip.X264.AC3-EVO.mkv","filetype":"file","label":"A.Cure.for.Wellness.2017.720p.BRRip.X264.AC3-EVO.mkv","lastmodified":"2017-05-28 20:10:00","type":"unknown"},
...
{"file":"http://10.8.0.1:40080/Movies/2017xXx.Return.of.Xander.Cage.2017.BRRip.XviD.AC3-EVO.avi","filetype":"file","label":"xXx.Return.of.Xander.Cage.2017.BRRip.XviD.AC3-EVO.avi","lastmodified":"2017-05-09 23:57:00","type":"unknown"}],"limits":{"end":138,"start":0,"total":138}}}

As you can see, the slashes are missing in the reply from Kodi, so this would appear to be an error in the Kodi JSON-RPC processing, and this then leads to the subsequent errors you saw in your Kodi log when the script attempts to refresh these non-existent files.

Since this problem doesn't occur with nfs:// or smb:// sources it would appear to be specific to this type of http source that you are using.

You should open a ticket on trac.kodi.tv for the attention of @Montellese.
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 - 2017-09-05, 07:39
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