2015-04-03, 00:19
HI Milhouse,
I thought this might be the answer to my woes of missing/not locally cached artwork on my shared mysql clients. However when I run it locally on my ubuntu installation I get this.
~/.kodi/userdata$ ./texturecache.py c
Traceback (most recent call last):
File "./texturecache.py", line 7753, in <module>
main(sys.argv[1:])
File "./texturecache.py", line 7462, in main
if not checkConfig(argv[0]): sys.exit(2)
File "./texturecache.py", line 7043, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "./texturecache.py", line 1866, in sendJSON
data = self.sendWeb("POST", "/jsonrpc", json.dumps(request), {"Content-Type": "application/json"}, timeout=timeout)
File "./texturecache.py", line 1834, in sendWeb
raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties")
httplib.HTTPException: Remote web host requires webserver.username/webserver.password properties
I do not have a username or password set for the webserver. I can run the command with an 'nc' and it runs fine. But not when I ask it to cache missing artwork with just a 'c'
Any ideas. I tried downloading the cfg file and putting the username and password fields in. I also tried putting a username and password in the webserver config in Kodi and the cfg file to no avail.
I am running it from the ~/.kodi/userdata directory.
Any help appreciated
Cheers
Spart
I thought this might be the answer to my woes of missing/not locally cached artwork on my shared mysql clients. However when I run it locally on my ubuntu installation I get this.
~/.kodi/userdata$ ./texturecache.py c
Traceback (most recent call last):
File "./texturecache.py", line 7753, in <module>
main(sys.argv[1:])
File "./texturecache.py", line 7462, in main
if not checkConfig(argv[0]): sys.exit(2)
File "./texturecache.py", line 7043, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "./texturecache.py", line 1866, in sendJSON
data = self.sendWeb("POST", "/jsonrpc", json.dumps(request), {"Content-Type": "application/json"}, timeout=timeout)
File "./texturecache.py", line 1834, in sendWeb
raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties")
httplib.HTTPException: Remote web host requires webserver.username/webserver.password properties
I do not have a username or password set for the webserver. I can run the command with an 'nc' and it runs fine. But not when I ask it to cache missing artwork with just a 'c'
Any ideas. I tried downloading the cfg file and putting the username and password fields in. I also tried putting a username and password in the webserver config in Kodi and the cfg file to no avail.
I am running it from the ~/.kodi/userdata directory.
Any help appreciated
Cheers
Spart