Please help me get rid of “Various Artists”, show track artist instead, [TOS #6: was “Please help with syntax..”] |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
Please help me get rid of “Various Artists”, show track artist instead, [TOS #6: was “Please help with syntax..”] |
Jan 13 2013, 06:13
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 14-October 12 Member No.: 103843 |
Hi! I want to get rid of 'various artists' in my playlists so I've made the custom column to display the artist track if it is VA:
$if([%artist%]="Various Artists",%track artist%,%artist%) But the thing always displays the track artist. Please tell me why. Thanks. |
|
|
|
Jan 13 2013, 07:23
Post
#2
|
|
|
Group: Members Posts: 328 Joined: 17-April 12 Member No.: 98921 |
The artist tag shouldn't be Various Artists. It should only be used in the album artist tag.
%track artist% returns the value of the artist tag when the artist tag differs from the album artist tag. Both tags have to be present for it to work. In other words, %track artist% and %artist% return the same value with the only difference being that the former is conditional upon the presence of a differing album artist tag. As to your string, the format would be (with correctly formatted tags): $if($stricmp(%album artist%,Various Artists),%track artist%,%artist%), but it's pointless. It essentially says "if the album artist tag value is Various Artists, display the artist tag, otherwise display the artist tag." All you need in this instance is simply %artist%. If your goal is to only display the artist tag on Various Artists albums, then you could use $if($stricmp(%album artist%,Various Artists),%artist%). You could also use $if($stricmp(%album artist%,Various Artists),%track artist%) but this needlessly causes foobar to compare the album artist and artist tags. I suggest learning title formatting. This post has been edited by BenB: Jan 13 2013, 07:49 -------------------- This signature apparently isn't too long.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 01:47 |