Search for specific meta data in audio files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Boznian2
Posts: 14
Joined: 20 Apr 2023 17:10

Search for specific meta data in audio files

Post 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!

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

Re: Search for specific meta data in audio files

Post by highend »

Code: Select all

prop:#audio.bitdepth:"16-bit" AND prop:#audio.samplerate:"48.000 Hz"
?
One of my scripts helped you out? Please donate via Paypal

Boznian2
Posts: 14
Joined: 20 Apr 2023 17:10

Re: Search for specific meta data in audio files

Post 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...

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

Re: Search for specific meta data in audio files

Post 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^^
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Search for specific meta data in audio files

Post 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.

Boznian2
Posts: 14
Joined: 20 Apr 2023 17:10

Re: Search for specific meta data in audio files

Post 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!

Post Reply