Page 1 of 1
Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 19:50
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?
Re: Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 20:13
by highend
E.g.
Code: Select all
prop:#audio.bitrate: == 192 kBit/s
Finds all files with exactly that bitrate...
Re: Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 20:51
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?
Re: Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 21:34
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
Re: Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 23:07
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.
Re: Find Files: How to find mp3 files by bit rate
Posted: 04 Jan 2016 23:31
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
