Skip to main content

Topic: foobar2000 doesn't detect %album artist% MISSING (Read 2637 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • sentriz
  • [*]
foobar2000 doesn't detect %album artist% MISSING
I made an autoplaylist with "%album artist% MISSING" and that doesn't show tracks with that tag missing.
Can anyone help? Thanks. Senan

  • Frank Bicking
  • [*][*][*][*][*]
  • Global Moderator
foobar2000 doesn't detect %album artist% MISSING
Reply #1
Quote
%album artist%
Name of the artist of the album specified track belongs to. Checks following metadata fields, in this order: “album artist”, “artist”, “composer”, “performer”.

To search for the album artist field only, use:

Code: [Select]
album artist MISSING

  • sentriz
  • [*]
foobar2000 doesn't detect %album artist% MISSING
Reply #2
Quote
%album artist%
Name of the artist of the album specified track belongs to. Checks following metadata fields, in this order: “album artist”, “artist”, “composer”, “performer”.

To search for the album artist field only, use:

Code: [Select]
album artist MISSING



Woah! I had no idea that %%'s were "groups" of fields. This kinda changes alot for me. Thanks Frank!

  • sentriz
  • [*]
foobar2000 doesn't detect %album artist% MISSING
Reply #3
Quote
%album artist%
Name of the artist of the album specified track belongs to. Checks following metadata fields, in this order: “album artist”, “artist”, “composer”, “performer”.

To search for the album artist field only, use:

Code: [Select]
album artist MISSING


But this breaks my other code..
Code: [Select]
'$if(album artist MISSING,$rgb(7,17,105),$rgb(255,0,0))Album Artist $rgb(7,17,105)|'

It always shows "Album Artist" in red, even if it's not missing.. 

  • Frank Bicking
  • [*][*][*][*][*]
  • Global Moderator
foobar2000 doesn't detect %album artist% MISSING
Reply #4
Queries cannot be used within title formatting.

Code: [Select]
$if($meta(album artist),... // swap your then and else parts

This is bad style though, and chances are you do not need such an indicator.

Album artist should remain empty for albums by a single artist. Take a good look at the default and suggested patterns throughout the whole program. You will not find any $if thanks to how %album artist% and other fields have been defined. Make sure to look up %artist% and %track artist% as well.

PS: Please refrain from full-quoting.
  • Last Edit: 16 July, 2012, 03:16:54 PM by Frank Bicking

  • BenB
  • [*][*][*][*][*]
foobar2000 doesn't detect %album artist% MISSING
Reply #5
But this breaks my other code..
Code: [Select]
'$if(album artist MISSING,$rgb(7,17,105),$rgb(255,0,0))Album Artist $rgb(7,17,105)|'

It always shows "Album Artist" in red, even if it's not missing.. 


Frank didn't elaborate but you must use $meta(album artist) if you want foobar to look for an album artist tag only.

As for that code, you've mixed querying syntax and title formatting and as you found out, it didn't work. I would do as Frank suggested above, but if changing your title formatting as he suggested would create too many difficulties for you, you should be able to insert $not($meta(album artist)) where you have "album artist MISSING" in your above code.