[RELEASE] Texture Cache Maintenance utility
(2017-10-30, 12:30)pacoma2610 Wrote: Using LE Milhouse Build #1029, 

I receive this error message since recently, so far it has always worked

FATAL: The task you wish to perform requires that a JSON-RPC server with
       version 6 or above of the Kodi JSON-RPC API is provided.

       The JSON-RPC API version of the connected server is: 0 (0 means unknown)

       Check settings in properties file texturecache.cfg

Are you using the built-in version of texturecache.py or a version you downloaded? Because the built-in version in #1029 is currently modified to work around the broken JSON version in recent test builds.

Anyone else will need to use this patch if they are using one of my test builds as the remote client:
Code:
index 8541121..44bf945 100755
--- a/texturecache.py
+++ b/texturecache.py
@@ -7873,6 +7873,9 @@ def checkConfig(option):

       if "result" in data and "version" in data["result"]:
         jsonGotVersion = data["result"]["version"]
+        if jsonGotVersion["major"] == 0:
+          gLogger.err("WARNING: overriding major version!", newLine=True)
+          jsonGotVersion["major"] = 8
         if type(jsonGotVersion) is dict and "major" in jsonGotVersion:
           gConfig.SetJSONVersion(jsonGotVersion.get("major",0),
                                  jsonGotVersion.get("minor",0),

or download http://sprunge.us/WcLJ which already includes the change.

I'm not pushing the "fix" to the repo because it's entirely unnecessary under normal circumstances.
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-10-30, 14:33
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
This forum uses Lukasz Tkacz MyBB addons.