The return of <XYthumbs>

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

The return of <XYthumbs>

Post 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".
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: The return of <XYthumbs>

Post by admin »

I guess you are right. <xythumbs> should return the path of what SC get("thumbs_cache") returns.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: The return of <XYthumbs>

Post by admin »

But it's tricky because get("thumbs_cache") does not return anything if no thumbnails are shown. Hmm. :eh:

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: The return of <XYthumbs>

Post 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.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: The return of <XYthumbs>

Post by admin »

Yeah, next beta.

Post Reply