[RELEASE] Texture Cache Maintenance utility
I'm attempting to use the Command Line Properties as detailed within your Github page within a batch file on my Windows HTPC that will run TextureCache on the Rpi. The problem is this error.

Code:
C:\Python27>texturecache.py Xd @config=KublerRpi.cfg @section=KublerRpi
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:
       .kodi\userdata\Thumbnails\

       Check userdata and thumbnails settings in properties file KublerRpi.cfg

I assume this is because elevated privileges are required. Here's the command line in the batch file:

texturecache.py Xd @config=KublerRpi.cfg @section=KublerRpi

I tried prefixing the above command line within the batch file with sudo, but that didn't work most likely because I'm not on the Linux box.
Code:
C:\Python27>sudo texturecache.py Xd @config=KublerRpi.cfg @section=KublerRpi
'sudo' is not recognized as an internal or external command,
operable program or batch file.

Here's the config file:
Code:
sep = |
userdata = .kodi/userdata
dbfile = Database/Textures13.db
thumbnails = Thumbnails
xbmc.host = localhost
webserver.port = 8080
webserver.username = Kodi
webserver.password =
rpc.port = 9090
download.threads = 2
extrajson.albums =
extrajson.artists =
extrajson.songs =
extrajson.movies =
extrajson.sets =
extrajson.tvshows.tvshow =
extrajson.tvshows.season =
extrajson.tvshows.episode =
qaperiod = 30
qa.file = no
qa.fail.urls = ^video, ^music
qa.warn.urls =
cache.castthumb = no
cache.hideallitems = no
cache.ignore.types = ^video, ^music
logfile = C:\Python27\KublerRpi.log
logfile.verbose = yes
checkupdate = yes
lastrunfile =
orphan.limit.check = yes
nonmedia.filetypes =
watched.overwrite = no
network.mac =
allow.recacheall = yes

# values common to all sections go in here...
#qaperiod=9999
#allow.recacheall=yes

[KublerRpi]
# This section name is being called from my KublerRpi.bat on HTPC
xbmc.host=192.168.1.242

#[pi2]
# This section reserved for another device when needed
# xbmc.host=[ip address here]

I know that the settings portion above the sections is correct because it works when used directly on the Rpi.
HTPC: Dell Optiplex 7040 Small Form Factor i7-6700 quad-core, 3.4GHz, 16GB
NAS: Synology DS1813+ and DX513, RAID 6 (29TB usable space)
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by CaptainKen - 2016-10-08, 22:55
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 utility4.7617