[RELEASE] Texture Cache Maintenance utility
@Milhouse,
Thank you so much for this invaluable script. I run it from Windows 7 to talk to my AFTVv1 running Kodi 15.2, and regularly use the 'p' and 'P' options to control usage of the limited space on my FireTV.

Recently, I tried using the 'r' and 'R' options but receive the following errors (yes, different errors running twice in succession):
Code:
C:\> c:\Python27\python.exe texturecache.py r
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:
       \sdcard\Android\data\org.xbmc.kodi\files\.kodi\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.

C:\> c:\Python27\python.exe texturecache.py r
FATAL: The task you wish to perform requires read/write file
       access to the Thumbnails folder, which is inaccessible.

       Specify the location of this folder using the thumbnails property
       as an absolute path or relative to the userdata property.

       The currently configured Thumbnails path is:
       \sdcard\Android\data\org.xbmc.kodi\files\.kodi\userdata\Thumbnails\

       Check userdata and thumbnails settings in properties file texturecache.cfg

As I mentioned, I can successfully run using the 'p' or 'P' options, and my config file is simple:
Code:
userdata = /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/
xbmc.host = <my-ipv4>
webserver.username = <my-user>
webserver.password = <my-pass>
logfile = texturecache.log
logfile.verbose = yes
The verbose log file from the last run is here: texturecache.log

I'd appreciate any suggestion you might have about the problem, and forgive me if there's an obvious mistake here.

Many thanks and take care!
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 guido1138 - 2015-10-25, 10:28
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