Page 1 of 1

The return of <XYthumbs>

Posted: 17 Nov 2021 16:17
by klownboy
Hey Don, with the new thumbnail setting "Resolve cache path from current folder" checked and a cache path set to ?:\XYthumbs I get a result for e <XYthumbs>; of "D:\XYthumbs" when I'm in a thumbnailed folder on my E: drive like "E:\temp\ken".

I'm doing some testing in preparation for a change to the Thumbnail Maintenance script to incorporate the new "Resolve cache path ..." setting. SC get("thumbs_cache") does return the proper cache file (e.g., E:\XYThumbs\00aa5de8b596e9448481100523751227.dbits). Should e <XYthumbs>; return the actual folder for the caches, "E:\XYthumbs" when your currentl folder is "E:\temp\ken"? I suppose I'm just wondering what is expected of <XYthumbs> now with setting "Resolve cache path.." checked.

For info only, my <XYdata> folder is "D:\Tools\XYplorer" and when I'm not testing this setting "Resolve cache path..." my normal thumbnail cache folder is "D:\Tools\XYplorer\Thumbnails".

Re: The return of <XYthumbs>

Posted: 19 Nov 2021 16:46
by admin
I guess you are right. <xythumbs> should return the path of what SC get("thumbs_cache") returns.

Re: The return of <XYthumbs>

Posted: 19 Nov 2021 16:53
by admin
But it's tricky because get("thumbs_cache") does not return anything if no thumbnails are shown. Hmm. :eh:

Re: The return of <XYthumbs>

Posted: 19 Nov 2021 16:59
by klownboy
It wasn't a huge deal since I knew I could get it from SC get("thumbs_cache"). So would you make <XYthumbs> return dependent on current location like drive or drive\folder when "Resolve cache path from current folder" is checked and it would be whatever is in the "Cache path" if unchecked?

Edit: When you say "no thumbs are shown" I'm a little confused. With "Resolve cache path from current folder" checked, I suppose you mean the return is nothing when you're in any folder with no thumbnails.

Re: The return of <XYthumbs>

Posted: 19 Nov 2021 17:07
by admin
Yeah, next beta.