artist VS album artist, show in column album artist only if it is not the same as artist |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
artist VS album artist, show in column album artist only if it is not the same as artist |
Nov 24 2012, 16:00
Post
#1
|
|
![]() Group: Members Posts: 5 Joined: 17-September 11 Member No.: 93756 |
Hello magicians, I'm searching for some code line that allows me to show in a UI column (after the title of every track) the %album artist% ONLY if it is not the same as the %artist%
I'll will be happy if you find some time to light this darky road. |
|
|
|
Nov 24 2012, 16:33
Post
#2
|
|
![]() Group: Members Posts: 149 Joined: 9-October 08 Member No.: 59818 |
CODE $if($meta(album artist),$if($stricmp(%album artist%,%artist%),True,False),Missing) True = tags equal False = tags differ Missing = ALBUM ARTIST is missing so can't be compared This post has been edited by Daeron: Nov 24 2012, 16:34 |
|
|
|
Nov 24 2012, 17:49
Post
#3
|
|
![]() Group: Members Posts: 5 Joined: 17-September 11 Member No.: 93756 |
|
|
|
|
Nov 24 2012, 18:03
Post
#4
|
|
![]() Group: Members Posts: 469 Joined: 5-June 11 Member No.: 91257 |
I think he wants to create a column in his Playlist Viewer which displays the ALBUM ARTIST tag at any list index position only if it qualifies, otherwise the list index position shows blank.
Therefore he needs to use this display code for that column: CODE $if($stricmp($trim($meta(album artist)),$trim($meta(artist))),,$meta(album artist))
This post has been edited by derty2: Nov 24 2012, 18:16 |
|
|
|
Nov 24 2012, 18:47
Post
#5
|
|
![]() Group: Members Posts: 149 Joined: 9-October 08 Member No.: 59818 |
On a second thought:
CODE [%track artist%] Too much coding, eh? This post has been edited by Daeron: Nov 24 2012, 18:47 |
|
|
|
Nov 26 2012, 00:20
Post
#6
|
|
![]() Group: Members Posts: 5 Joined: 17-September 11 Member No.: 93756 |
I think he wants to create a column in his Playlist Viewer which displays the ALBUM ARTIST tag at any list index position only if it qualifies, otherwise the list index position shows blank. Therefore he needs to use this display code for that column: CODE $if($stricmp($trim($meta(album artist)),$trim($meta(artist))),,$meta(album artist)) In my column I need: %tiltle% (and if %artist% is not equal to %album artist% then add:) - %album artist% (otherwise only is shown the %title%) This post has been edited by raedxxi: Nov 26 2012, 00:22 |
|
|
|
Nov 26 2012, 00:25
Post
#7
|
|
![]() Group: Members Posts: 149 Joined: 9-October 08 Member No.: 59818 |
Which means you can simply use this, as it was mentioned previously:
CODE %title%[ - %track artist%] Assuming you simply want to show the 'real' artist (contained within the ARTIST tag) of each track after the title in a VA (=ALBUM ARTIST) album for example. I supposed you just mixed up the two. If not, derty2's code should have your answer. This post has been edited by Daeron: Nov 26 2012, 00:40 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 10:29 |