Code: Select all
E:\3\|240x180|01d4b4cc01e46791d66be7940c78e831
E:\3\ken\|240x180|01d4b4cc01e46791d66be7940c78e831 //I moved these into alignment to quickly see they are the sameCode: Select all
E:\3\|240x180|01d4b4cc01e46791d66be7940c78e831
E:\3\ken\|240x180|01d4b4cc01e46791d66be7940c78e831 //I moved these into alignment to quickly see they are the sameCode: Select all
E:\3\*240x180Thanks for this link, it sheds some light on the cancerous outgrowth of my cache folders before Ken's script came along. XY kept losing thumbs that I knew for sure I had created, it felt like I was continually starting over with caching while browsing folders, a tediously slow process, the thumbs folder got ever more bloated ...Marco wrote:That md5 hash is not of the files, but the string(as per docs, http://www.xyplorer.com/xyfc/viewtopic. ... 590#p90590)Code: Select all
E:\3\*240x180
Code: Select all
$ThumbsCache = getkey("Cache", "Thumbs");
$TempCacheFolder = "D:\Temp\"; // change to whatever temp folder you'd like, use a final backslash
if($ThumbsCache == "1") { // if cache is currently "On" turn it "Off"
perm $ThumbsFolder = getkey("CacheDir", "Thumbs"); // msg "Cache folder: $ThumbsFolder<crlf>Cache On or Off: $ThumbsCache";
writepv;
setkey("$TempCacheFolder", "CacheDir", "Thumbs");
setkey("0", "Cache", "Thumbs"); //set cache off
msg "Thumbnail caching is now off and thumbs cache<crlf>folder is set to $TempCacheFolder";
#190; //restart without saving
}
else { //if cache is currently "Off" turn it "On"
setkey("$ThumbsFolder", "CacheDir", "Thumbs");
setkey("1", "Cache", "Thumbs");
msg "Caching is now ON and thumbs cache<crlf>folder is set to $ThumbsFolder";
unset $ThumbsFolder; writepv;
#190;
}