Search for custom content (columns)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
TomPiXX
Posts: 23
Joined: 10 Jul 2016 02:09
Location: NRW, Germany

Search for custom content (columns)

Post by TomPiXX »

Hey community,

I'm wondering if I can search for custom attributes / content of columns.
I've created a custom column showing the resolution of video files.
xyplorer_res.jpg
Now I want to search for all files with specific values of those columns.

Thankful for any hint.

Regards,
Tom
To see the attached files, you need to log into the forum.

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Search for custom content (columns)

Post by yusef88 »

Try this

Code: Select all

prop:System.Video.FrameWidth: >= 1920

TomPiXX
Posts: 23
Joined: 10 Jul 2016 02:09
Location: NRW, Germany

Re: Search for custom content (columns)

Post by TomPiXX »

Okay... thanks for your answer. Please let's keep my question a little bit more common.
The resolution is just an example.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search for custom content (columns)

Post by highend »

As long as your custom column retrieves values from the tag database?

Ctrl + f (invokes search)
Name & Location
Name: ex2:"1920 x 1080"

In this case I'm assuming you used the extra2 field to tag your files. If you just tagged them,
you would have used tags: instead of ex2:
One of my scripts helped you out? Please donate via Paypal

TomPiXX
Posts: 23
Joined: 10 Jul 2016 02:09
Location: NRW, Germany

Re: Search for custom content (columns)

Post by TomPiXX »

I didn't tagged them, it's a script for the column..

Code: Select all

$width = property('System.Video.FrameWidth', <cc_item>);
$height = property('System.Video.FrameHeight', <cc_item>);
$dimensions = $width x $height;
return $dimensions;

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search for custom content (columns)

Post by highend »

Ic.

In this case you use the <name of the column>:<search term>

E.g.:
auflösung:1280 x 720
One of my scripts helped you out? Please donate via Paypal

TomPiXX
Posts: 23
Joined: 10 Jul 2016 02:09
Location: NRW, Germany

Re: Search for custom content (columns)

Post by TomPiXX »

Omg... it's just that simple??

Mate... I have to repeat: Thanks for XYplorer!

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search for custom content (columns)

Post by highend »

It is :)

But it's only a very small paragraph in the help file that explains it:
Notes:

· In the case of custom columns and extra tags the field selector is identical to the column caption (case-insensitive).
One of my scripts helped you out? Please donate via Paypal

Theli
Posts: 9
Joined: 08 Sep 2016 13:54

Re: Search for custom content (columns)

Post by Theli »

Hi. First post on the forum.

I'm currently having a little headache regarding searching with the custom columns.
What i'm trying to do is to search for pictures with a specific date. For example, 06/04/2010. Using the custom column #2 (named "Date Taken") show the dates but i'm not getting any results when doing the search with it.
Using <name of the column>:<search term> or cc2:<search term> simply don't work. I've read the help several times but no clue what more can i try.

Anyone can give me a hint? Thanks!

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Search for custom content (columns)

Post by highend »

Welcome to the forum.

date taken:06/04/2010*

should do it. That column does not only contain a date, but a time as well...
One of my scripts helped you out? Please donate via Paypal

Theli
Posts: 9
Joined: 08 Sep 2016 13:54

Re: Search for custom content (columns)

Post by Theli »

Yeah, it worked!
I was completely ignoring the time part... :whistle:

Thanks for the help! :tup:

Post Reply