2015-10-25, 11:08
As per the error message, the option requires read/write access to the Textures13.db file and Thumbnails folder, ie. direct file system access.
The options "f", "F", "r", "R", "S", "X", "Xd" all require direct filesystem access as there is currently no JSON functionality available for the actions these options perform (ie. deleting files from the Thumbnails folder when there is no matching entry in Textures13.db, and retrieving file size/date information of files from the Thumbnails folder).
There are two solutions - run the texturecache.py script directly on the Kodi client, or mount the userdata folder of the Kodi client on the PC that is running the script.
Note that specifying the Android userdata location in your texturecache config when running the script on a PC is not going to achieve anything as the location you have configured is not accessible to the PC. You need to mount the Kodi client userdata partition on the PC and then configure the userdata mount point on the PC as the userdata path, allowing the script to read/write data within the Kodi client userdata folder.
However since you're using Android for the Kodi client and Windows to run the script, I suspect both solutions will be unavailable to you as I don't think you can run the script on an unrooted Android box, and it's unlikely you can mount the Android userdata folder on Windows (the userdata folder would have to be shared over SMB by Android).
The options "f", "F", "r", "R", "S", "X", "Xd" all require direct filesystem access as there is currently no JSON functionality available for the actions these options perform (ie. deleting files from the Thumbnails folder when there is no matching entry in Textures13.db, and retrieving file size/date information of files from the Thumbnails folder).
There are two solutions - run the texturecache.py script directly on the Kodi client, or mount the userdata folder of the Kodi client on the PC that is running the script.
Note that specifying the Android userdata location in your texturecache config when running the script on a PC is not going to achieve anything as the location you have configured is not accessible to the PC. You need to mount the Kodi client userdata partition on the PC and then configure the userdata mount point on the PC as the userdata path, allowing the script to read/write data within the Kodi client userdata folder.
However since you're using Android for the Kodi client and Windows to run the script, I suspect both solutions will be unavailable to you as I don't think you can run the script on an unrooted Android box, and it's unlikely you can mount the Android userdata folder on Windows (the userdata folder would have to be shared over SMB by Android).