2017-03-04, 21:34
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:
I turned on the log file too, and here is the output from it:
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:
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!
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}
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!