[RELEASE] Texture Cache Maintenance utility
Thank you for the great script! It's making XBMC much more smooth!

I'm wondering about remotely running this script. It seems like you need to have the remote computer's userdata dir accessible on your local computer. Is that correct?

Here's what I'm trying to do, and results: (I had this working by mounting the remote userdata with sshfs, but I switched over to OpenElec which doesn't have this)

Code:
./texturecache.py lc @config=./texturemulti.cfg @section=bedroom

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

       The following sqlite3 database could not be opened:
       /private/var/mobile/Library/Preferences/XBMC/userdata/Database/Textures13.db

       Check settings in properties file ./texturemulti.cfg

The config file:
Code:
sep = |
dbfile = Database/Textures13.db
thumbnails = Thumbnails
webserver.port = 8080
webserver.username = xbmc
webserver.password = supersecretinfo
rpc.port = 9090
orphan.limit.check = yes

[livingroom]
xbmc.host = 10.0.1.20
userdata = /storage/.xbmc/userdata/
download.threads = 2
cache.castthumb = yes
lastrunfile=/storage/lrf_lounge.dat
  
[bedroom]
xbmc.host = 10.0.1.25
userdata = /private/var/mobile/Library/Preferences/XBMC/userdata/
download.threads = 1
cache.castthumb = no
lastrunfile=/storage/lrf_bedroom.dat

Thanks!
Reply


Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by iRobie - 2013-06-27, 00:27
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
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