[RELEASE] Texture Cache Maintenance utility
I'm trying to run texturecache remotely from ubuntu to an android tv box and can not get it to connect. And for the life of me, I can't figure out what I am doing wrong.

I've installed texturecache per the instructions. I've set the config file to the IP address of the box I have (and removed the # at the front of the line). Here is the output when I run it:

Code:
FATAL: The task you wish to perform requires read/write file
       access to the Kodi SQLite3 Texture Cache database.

       The following SQLite3 database could not be opened:
       /home/xubuntu/userdata/Database/Textures13.db

       Check settings in properties file texturecache.cfg,
       or upgrade your Kodi client to use a more recent
       version that supports Textures JSON API.

I turned on the log file too, and here is the output from it:

Code:
2017-03-04 14:15:25.251679:MainThread: Command line args: ['./texturecache.py', 'x']
2017-03-04 14:15:25.253254:MainThread: Current version #: v2.3.5
2017-03-04 14:15:25.253377:MainThread: Current platform : linux2
2017-03-04 14:15:25.253504:MainThread: Python  version #: v2.7.12.0 (final)
2017-03-04 14:15:25.255123:MainThread: libVersion.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "method": "JSONRPC.Version", "id": "libVersion"}]
2017-03-04 14:15:25.758214:MainThread: JSON Textures DB API not supported - will use SQLite to access the Textures DB


It's like texturecache isn't recognizing I told it to connect to a remote IP. But the cfg file is definitely set. I started thinking maybe there is a communication error between this ubuntu box and the android box. So via a webbrowser, I tested via a simple json web address message test:
Code:
http://ipofandroidtvbox:8080/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"ATTENTION","message":"MESSAGEHERE"},"id":1}
I get back in the browser: {"id":1,"jsonrpc":"2.0","result":"OK"}
And ofcourse I get the message on tv. So I know communication is working.

I'm guessing this is something obvious I've done wrong, but I sure can't find it. Can someone point me in the right direction? Thanks!
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by bigjess007 - 2017-03-04, 21:34
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 utility17