Searching MP3 File Tags

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
cldcp00
Posts: 55
Joined: 20 Jun 2019 15:26

Searching MP3 File Tags

Post by cldcp00 »

Hi
Please excuse me if I have missed something obvious

I am trying to find files based on a value in the ID3 tags

i.e Album Greatest Hits

I have tried /contents="Greatest Hits"

Your help would be greatly appreciated

Regards

Des

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

Re: Searching MP3 File Tags

Post by admin »

Try this (admittedly not really *obvious* :) ):

Code: Select all

prop:#mp3.album:Greatest Hits
Attachments
prop_#mp3.album_Greatest Hits.png
prop_#mp3.album_Greatest Hits.png (17.91 KiB) Viewed 1456 times

cldcp00
Posts: 55
Joined: 20 Jun 2019 15:26

Re: Searching MP3 File Tags

Post by cldcp00 »

Hi Admin,

Thank you very much for you reply much appreciated.

Am I correct in assuming that have to know in advance which tag holds the value i.e in this case Album.

Is there a way of searching all tags for a value?

Something the information is not correctly tagged and therefore the value could be in any of the tags.

Thank you

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

Re: Searching MP3 File Tags

Post by admin »

No, there is no such option. But there aren't that many tags. You should be able to find them in the Help file.

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

Re: Searching MP3 File Tags

Post by highend »

Use e.g. a script to make it easier...

Code: Select all

    $props = "album|artist|Comments|Composer|genre|title|track|year";
    $pattern = ":";
    foreach($prop, $props, , "e") { $pattern .= "prop:#mp3.$prop:" . <clipboard> . " OR "; }
    copytext substr($pattern, , strlen($pattern) -4);
E.g. create a user defined command and assign it a keyboard shortcut

Then type e.g.:
Greatest hits

in the name field, ctrl+a, ctrl+c, the keyboard shortcut you've assigned, ctrl+v

and you get this inside the name field:

Code: Select all

:prop:#mp3.album:Greatest hits OR prop:#mp3.artist:Greatest hits OR prop:#mp3.Comments:Greatest hits OR prop:#mp3.Composer:Greatest hits OR prop:#mp3.genre:Greatest hits OR prop:#mp3.title:Greatest hits OR prop:#mp3.track:Greatest hits OR prop:#mp3.year:Greatest hits
One of my scripts helped you out? Please donate via Paypal

cldcp00
Posts: 55
Joined: 20 Jun 2019 15:26

Re: Searching MP3 File Tags

Post by cldcp00 »

Hi Highend,

Thanks you so much for the script, it's going to make things so much easier for me.

Regards

Desmond

cldcp00
Posts: 55
Joined: 20 Jun 2019 15:26

Re: Searching MP3 File Tags

Post by cldcp00 »

Hi Highend

Hope all is well.
I have moved to a new pc and for some reason i cannot get your script working


Image

https://1drv.ms/i/s!AsYqW0NCjM4fgY9lEUW ... g?e=wX9THQ

Thanks in advance for your help

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

Re: Searching MP3 File Tags

Post by jupe »

2023-11-20_125436.png
2023-11-20_125436.png (5.43 KiB) Viewed 721 times

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

Re: Searching MP3 File Tags

Post by admin »

admin wrote: 25 Jun 2019 18:16 Try this (admittedly not really *obvious* :) ):

Code: Select all

prop:#mp3.album:Greatest Hits
In the current version it's much easier. You can use the column name:

Code: Select all

Tag Album:Greatest Hits
However, to match "Gold:Greatest Hits" you either have to give the full title or add asterisks:

Code: Select all

Tag Album:Gold:Greatest Hits
Tag Album:*Greatest Hits*
When using prop:#mp3.album: this is not necessary, partial matches work by default:

Code: Select all

prop:#mp3.album:Greatest Hits
Hmmm.... :eh:

Post Reply