2013-05-22, 20:44
Version 0.6.5
@config and @section can be used in conjunction.
Example properties file "./cache.cfg":
then ./texturecache.py lc movies @config=./cache.cfg @section=lounge would perform an incremental cache pre-load against the htpc client.
- Added @config=filename so that alternative property files can be specified at run time. Specify either an absolute path and filename, or just the filename to be searched in current directory and then the directory of the script.
- Added @section=name so that properties from a specific property section will be used. Sections are processed in addition to the "global" (default, un-named) section.
@config and @section can be used in conjunction.
Example properties file "./cache.cfg":
Code:
webserver.port = 8080
webserver.username = username
webserver.password = password
extrajson.movies = streamdetails, file, mpaa, rating, plot
[lounge]
xbmc.host = htpc
userdata = /mnt/share/xbmc/htpc/storage/.xbmc/userdata/
download.threads = 10
cache.castthumb = yes
lastrunfile=/tmp/lrf_lounge.dat
[bedroom]
xbmc.host = rpi1
userdata = /mnt/share/xbmc/rpi1/storage/.xbmc/userdata/
download.threads = 2
cache.castthumb = no
lastrunfile=/tmp/lrf_bedroom.dat
then ./texturecache.py lc movies @config=./cache.cfg @section=lounge would perform an incremental cache pre-load against the htpc client.