IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
foobar2000 doesn't detect %album artist% MISSING, [not a bug = moved out of Support]
sentriz
post Jul 16 2012, 18:37
Post #1





Group: Members
Posts: 9
Joined: 4-July 12
Member No.: 101166



I made an autoplaylist with "%album artist% MISSING" and that doesn't show tracks with that tag missing. huh.gif
Can anyone help? Thanks. Senan smile.gif
Go to the top of the page
+Quote Post
Frank Bicking
post Jul 16 2012, 18:42
Post #2





Group: Super Moderator
Posts: 1833
Joined: 24-July 02
From: Berlin, Germany
Member No.: 2776



QUOTE (Help @ Title formatting help)
%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
album artist MISSING
Go to the top of the page
+Quote Post
sentriz
post Jul 16 2012, 18:52
Post #3





Group: Members
Posts: 9
Joined: 4-July 12
Member No.: 101166



QUOTE (Frank Bicking @ Jul 16 2012, 18:42) *
QUOTE (Help @ Title formatting help)
%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
album artist MISSING



Woah! I had no idea that %%'s were "groups" of fields. This kinda changes alot for me. Thanks Frank! smile.gif
Go to the top of the page
+Quote Post
sentriz
post Jul 16 2012, 19:04
Post #4





Group: Members
Posts: 9
Joined: 4-July 12
Member No.: 101166



QUOTE (Frank Bicking @ Jul 16 2012, 18:42) *
QUOTE (Help @ Title formatting help)
%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
album artist MISSING


But this breaks my other code..
CODE
'$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.. unsure.gif
Go to the top of the page
+Quote Post
Frank Bicking
post Jul 16 2012, 19:49
Post #5





Group: Super Moderator
Posts: 1833
Joined: 24-July 02
From: Berlin, Germany
Member No.: 2776



Queries cannot be used within title formatting.

CODE
$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.

This post has been edited by Frank Bicking: Jul 16 2012, 20:16
Go to the top of the page
+Quote Post
BenB
post Jul 19 2012, 18:37
Post #6





Group: Members
Posts: 776
Joined: 17-April 12
Member No.: 98921



QUOTE (sentriz @ Jul 16 2012, 13:04) *
But this breaks my other code..
CODE
'$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.. unsure.gif


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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 12:13