2017-10-29, 19:38
Thanks Mr.Floppy.
(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
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),
(2017-10-30, 16:40)pacoma2610 Wrote: is it a difference to use the build in or a remote?
texturecache.py C movies @cache.refresh=3
(2017-11-05, 17:17)firewater Wrote: Right! Thanks, I'm sure this will work, but for now I get "A connection cannot be established to the following webserver: localhost: 8080". I just run Kodi on my computer, offline. No sharing anywhere, no server, no nothing. All other mentions of this on the thread seem to overcomplicate this, so what would be the procedure considering my scenario?
C:\Program Files (x86)\Kodi\userdata>texturecache.py C movies @cache.refresh=3
Loading Textures DB: chunk 1 of 17 [unmatched 3: matched 0, skipped 0] (0 of 0)
Loading Textures DB: chunk 1 of 17 [unmatched 3: matched 0, skipped 0] (1 of 1)
Loading Textures DB: chunk 2 of 17 [unmatched 3: matched 0, skipped 0] (1 of 1)
Loading Textures DB: chunk 3 of 17 [unmatched 3: matched 0, skipped 0] (0 of 0)
Loading Textures DB: chunk 4 of 17 [unmatched 3: matched 0, skipped 0] (0 of 0)
Loading Textures DB: chunk 5 of 17 [unmatched 3: matched 0, skipped 0] (0 of 0)
Loading Textures DB: chunk 5 of 17 [unmatched 3: matched 0, skipped 0] (1 of 1)
Loading Textures DB: chunk 6 of 17 [unmatched 2: matched 0, skipped 1] (1 of 1)
Loading Textures DB: chunk 7 of 17 [unmatched 2: matched 0, skipped 1] (0 of 0)
Loading Textures DB: chunk 7 of 17 [unmatched 2: matched 0, skipped 1] (1 of 1)
Loading Textures DB: chunk 8 of 17 [unmatched 1: matched 0, skipped 2] (1 of 1)
Loading Textures DB: chunk 9 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 9 of 17 [unmatched 1: matched 0, skipped 2] (1 of 1)
Loading Textures DB: chunk 10 of 17 [unmatched 1: matched 0, skipped 2] (1 of 1)
Loading Textures DB: chunk 11 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 12 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 13 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 14 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 15 of 17 [unmatched 1: matched 0, skipped 2] (0 of 0)
Loading Textures DB: chunk 15 of 17 [unmatched 1: matched 0, skipped 2] (1 of 1)
Cache pre-load activity summary for "movies":
| fanart | poster | TOTAL
--------------+-------------+-------------+-------------
Cached | - | - | 0
Deleted | - | - | 0
Duplicate | - | - | 0
Error | - | - | 0
Ignored | - | - | 0
Skipped | - | 3 | 3
Undefined | - | - | 0
========================================================
TOTAL | - | 3 | 3
Loading: 00:00:00.00
Parsing: 00:00:00.00
Comparing: 00:00:00.02
TOTAL RUNTIME: 00:00:00.02
##DEBUG## mediatype [movie]; mediatitle [Young Frankenstein]
##DEBUG## artwork type [fanart] known by Kodi as [https://assets.fanart.tv/fanart/movies/3...446a7d.jpg]
##DEBUG## [fanart ] Lookup non-HTTP file using current URL: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg [FAIL]
##DEBUG## [fanart ] No alt source for non-HTTP files, using: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
##DEBUG## [fanart ] Converting local filename to Kodi path: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
##DEBUG## [fanart ] No library change required, keeping: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
FROM:
if not source.startswith("http://"):
TO:
if not source.startswith("http://") and not source.startswith("https://"):
OR
if not source.startswith("http"):
(2017-11-10, 20:58)Milhouse Wrote: @wallacebw thanks I've added the support for https to mklocal.py, you'll need to re-download the mklocal.py script to update (it doesn't auto-update).