Skip to main content

Topic: TAGS: Find all files that match %artist% = %album artist% (Read 1069 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
TAGS: Find all files that match %artist% = %album artist%
Hi,

I tried to figure out to find out what is the easiest way to find all files where %artist% matches %album artist% within foobar2k.

Is there any way?

Thanks,

-Chris

  • BenB
  • [*][*][*][*][*]
TAGS: Find all files that match %artist% = %album artist%
Reply #1
Depends on where you want the info.

%track artist% will return the artist tag when it differs from the album artist tag, but that isn't exactly what you're asking for.

You can use a title formatting/query syntax string such as the following in foobar's library search to return what you want:
Code: [Select]
"$if($stricmp($meta(artist),$meta(album artist)),true,false)" IS true


You can consult the Title Formatting Reference and Query Syntax Reference for other available options.
  • Last Edit: 10 December, 2012, 07:53:32 PM by BenB

TAGS: Find all files that match %artist% = %album artist%
Reply #2
Thanks for the solution.

I did not know the trick with the "" usage within a query.


Depends on where you want the info.

%track artist% will return the artist tag when it differs from the album artist tag, but that isn't exactly what you're asking for.

You can use a title formatting/query syntax string such as the following in foobar's library search to return what you want:
Code: [Select]
"$if($stricmp($meta(artist),$meta(album artist)),true,false)" IS true


You can consult the Title Formatting Reference and Query Syntax Reference for other available options.