Possible to search for media files with certain info tips?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

Possible to search for media files with certain info tips?

Post by itsme28m »

Hi,

Does anybody know that it is possible to search for files that has certain info tips?

So for example, i would like to find all files with a resolution for 480p or higher, is this possible?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Possible to search for media files with certain info tip

Post by serendipity »

itsme28m wrote:Hi,

Does anybody know that it is possible to search for files that has certain info tips?

So for example, i would like to find all files with a resolution for 480p or higher, is this possible?
You can read them by using command property.
I wrote a little script to read all file properties, maybe this could be a starting point:
http://www.xyplorer.com/xyfc/viewtopic. ... 562#p71562

Forgot XY already has a way to do this.
Last edited by serendipity on 07 Oct 2012 18:29, edited 1 time in total.

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

Re: Possible to search for media files with certain info tip

Post by admin »

Yes, it is. Check help for prop: prefix in searches.

For starters:

Code: Select all

v8.60.0106 - 2009-11-16 21:07

  +++ Find Files: Now you can directly search for the extended 
      properties of file items, as also known from the File Info Tips. 
      Their names and indices vary strongly between different Windows 
      versions. A list is available in Configuration | File Info Tips.
      The syntax is like above with "tag:" or "comment:", only with yet 
      another field for the actual property. To identify properties by 
      their index prefix "#" to the number.
      Examples:
      - prop:fileversion:8.60 //find all items with version *8.60*
      - prop:fileversion:"8.60" // with version 8.60
      - prop:#8:Donald          // with owner *Donald*
      - prop:#26:"1024 x 768"   // with dimensions "1024 x 768"
      NOTE: While this new feature adds enormous power to XY's file 
      search, it is not extremely fast because retrieving extended 
      properties via the shell is rather slow.

itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

Re: Possible to search for media files with certain info tip

Post by itsme28m »

Thanks.

I checked the help file also, but it seems you can only give both dimensions "1024 x 768", i only need to find the 768 (in this example), and, only to 768 and higher (that is for this example, i actually want to search for all files from 480p to more. So i want to find all good quality files togheter, move it to another location, and leave the less quality files to a seperate location. Is this possible? Searching on file size is not really an option, since i have several small files from a few minutes or even seconds in 720p.

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

Re: Possible to search for media files with certain info tip

Post by admin »

Win7 offers width and height separately for common formats like PNG and JPEG. For other image file types it depends on the installed codecs which properties are actually exposed.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Possible to search for media files with certain info tip

Post by serendipity »

itsme28m wrote:Thanks.

I checked the help file also, but it seems you can only give both dimensions "1024 x 768", i only need to find the 768 (in this example), and, only to 768 and higher (that is for this example, i actually want to search for all files from 480p to more. So i want to find all good quality files togheter, move it to another location, and leave the less quality files to a seperate location. Is this possible? Searching on file size is not really an option, since i have several small files from a few minutes or even seconds in 720p.
You can do this if you know the prop#. Use the script i mentioned below to retrieve the number and then you can use XY prop: to search them.
For my image files i have #162 for width and #164 for height.
btw you can also use: ImageX and ImageY

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Possible to search for media files with certain info tip

Post by serendipity »

Try:
prop:ImageX:1280

for Width equal to 1280

itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

Re: Possible to search for media files with certain info tip

Post by itsme28m »

Thanks!

Almost there...

I don't need it at the moment for images, but for videos.

So i tried prop:#283:>480 to search everything with a resolution of more then 480p, that didn't work

Without the > it did work, but it gave only the video files with 480p, and not the 720p, so is it possible to search for the given resolution and higer resolution togheter?

Edit: I think i got it... i forgot a space.

prop:#283: > 470 works

I had to say 470 because else it didn't give 480 (479 would be better i guess :biggrin: ), great to know that this is possible!!

Edit: Weird that it also finds many other files like jpg's, apk's, zip and rar archives,.... while there is no dimension information in the file info tip... any idea why this is? Anyway, i find a way around this by searching only for type "video files", and problem solved :biggrin:

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Possible to search for media files with certain info tip

Post by serendipity »

itsme28m wrote:Weird that it also finds many other files like jpg's, apk's, zip and rar archives,.... while there is no dimension information in the file info tip... any idea why this is?
Don't know, probably prop:#283 means something else for these files. But you already have figured it out to overcome this. :)

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

Re: Possible to search for media files with certain info tip

Post by admin »

serendipity wrote:
itsme28m wrote:Weird that it also finds many other files like jpg's, apk's, zip and rar archives,.... while there is no dimension information in the file info tip... any idea why this is?
Don't know, probably prop:#283 means something else for these files.
You can use SC property to find out what is returned.

Post Reply