Page 1 of 1
Search for specific meta data in audio files
Posted: 15 May 2023 16:09
by Boznian2
Still new at this, bear with me! I currently have "Sample Rate" and "Bit Depth" displayed (always) in my custom column layout, and have XYplorer set to colorize them for different values - GREAT! What I would like to do now however, is search my entire library for SPECIFIC values and combinations of sample rate and bit depth - is this possible? (Basically trying to find all my hi-res music, out of about 6,000 songs)
I have been trying things like
prop:#bitdepth:"24-bit"
without success. Maybe the right syntax but not done correctly? Any specific advice much appreciated, thanks!
Re: Search for specific meta data in audio files
Posted: 15 May 2023 16:24
by highend
Code: Select all
prop:#audio.bitdepth:"16-bit" AND prop:#audio.samplerate:"48.000 Hz"
?
Re: Search for specific meta data in audio files
Posted: 15 May 2023 16:31
by Boznian2
Hi, thx for the reply. Your script should find about 90% of my music, but finds nothing. Clearly, I am doing it wrong. Do you have any further info on how to implement your search properly? Feel free to treat me like an idiot

as I DON'T know what I am doing yet...
Re: Search for specific meta data in audio files
Posted: 15 May 2023 19:08
by highend
Show a full screenshot with files of your search criteria visible (and the find files panel as well with the search string entered). Do include the columns with the meta data^^
Re: Search for specific meta data in audio files
Posted: 15 May 2023 21:51
by jupe
Sample Rate might have a comma separator instead, and depending on your config you probably need a colon prefix on the whole string too, or change the Mode dropdown to Boolean in the Find Files panel.
Re: Search for specific meta data in audio files
Posted: 16 May 2023 14:38
by Boznian2
Hi-
Sample Rate does indeed require a comma. Also I wasn't thinking, standard sample rate is 44,100 not 48,000. There weren't as many results as I thought, (HiRes music is expensive!) so just shortening to
"prop:#audio.bitdepth:"24-bit""
did the trick, setting the mode to Boolean, not selecting any other filters.
THANKS!