2013-09-15, 21:10
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