[RELEASE] Texture Cache Maintenance utility
I'd like to create a batch file to run periodically for routine maintenance. Would this suffice, or do you have a better method?

Code:
SET "TITLE=Python TextureCache Routine Maintenance"

TITLE %TITLE%
COLOR FC
REM MODE CON: COLS=190 LINES=80
MODE CON: COLS=190

cd\
cd\python27

REM -> To auto update to newest texturecache.py
texturecache.py update

REM -> Remove Orphan files from the Thumbnails folder
REM If there are "too many" Orphan files (ie. more than 5% of your entire Thumbnails folder) then enable
REM "orphan.limit.check = no" in the properties file for the script to proceed with removal
texturecache.py R

REM --> ReCache only Movies that NEED caching (most use lower case "c")
REM Also run after Movie Set Artwork Automator to clean up the backslash problems in paths
texturecache.py c

pause
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
RE: [RELEASE] Texture Cache Maintenance utility - by CaptainKen - 2013-09-15, 21:10
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 utility4.7617