Find Files: How to find mp3 files by bit rate

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Find Files: How to find mp3 files by bit rate

Post by Jerry »

[Using 16.10.0300 on Windows 7 Pro 64bit.] I can't get a find file search to work properly using the bit rate property for mp3 files. I am in a folder containing a hierarchy of subfolders with mp3 files of different bit rates (mostly 320 kbps, but some 256, 192).

I am using the following settings in Find Files:
  • All Types
    Mode: Standard
    Include Subfolders
    Follow folder links
    Auto sync
    Attributes: Not Directory
I then try each of the following Name expressions unsuccessfully:
  • prop:Bit rate:!=320 returns all mp3 files
    prop:Bit Rate:!=320 returns all mp3 files
    prop:BitRate:!=320 returns all mp3 files
    prop:Bitrate:!=320 returns all mp3 files
    prop:bitrate:!=320 returns all mp3 files
    prop:#audio.bitrate:!=320 returns all mp3 files
    prop:Bit rate:<320 no results
    prop:Bit rate:192 no results
    prop:#audio.bitrate:192 no results
Do you have to specify the kbps unit label in some way with this property?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Find Files: How to find mp3 files by bit rate

Post by highend »

E.g.

Code: Select all

prop:#audio.bitrate: == 192 kBit/s
Finds all files with exactly that bitrate...
One of my scripts helped you out? Please donate via Paypal

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: Find Files: How to find mp3 files by bit rate

Post by Jerry »

highend wrote:E.g.

Code: Select all

prop:#audio.bitrate: == 192 kBit/s
Finds all files with exactly that bitrate...
Ok, so you need to put a space after the ":" and after the comparison operator. And for this property, you DO need to specify the unit label also (kBit/s), but curiously you need only specify it partially to work: == 192 k works also. Is that a general feature for properties with required unit labels?

And why doesn't any of the "Bit rate" variant spellings work? Is it because of the embedded space? If so, what do you do when a property has an embedded space and there's no Special # Property for it?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Find Files: How to find mp3 files by bit rate

Post by highend »

Is that a general feature for properties with required unit labels?
Didn't try it with a short form, can't comment on that
And why doesn't any of the "Bit rate" variant spellings work?
Wrong format
If so, what do you do when a property has an embedded space and there's no Special # Property for it?
Like? I'm not aware of any properties with a space in it

Apart from that, two options, property index (can be different with each OS) or the canonical one from
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
One of my scripts helped you out? Please donate via Paypal

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: Find Files: How to find mp3 files by bit rate

Post by Jerry »

highend wrote:Wrong format
Can you elaborate on that?
Like? I'm not aware of any properties with a space in it
Such as any of the properties with embedded spaces listed in say, Configuration > File Info Tips.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Find Files: How to find mp3 files by bit rate

Post by highend »

Spaces in properties must be passed with an underscore.
If all "normal" properties should work in the gui search? I don't know, never tried them.

I only use internal xy properties / canonical ones (be careful, the latter are case sensitive).

Configuration > File Info Tips
I see. In my case they currently use the german name and I'm too lazy to set my OS language to english to change that :)
One of my scripts helped you out? Please donate via Paypal

Post Reply