2013-06-27, 00:27
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)
Result:
The config file:
Thanks!
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!