Post Reply 
Artist Tag If No AlbumArtist Tag?
10-08-2021, 22:53
Post: #1
Artist Tag If No AlbumArtist Tag?
Here's my album display format tag:

Code:
Album.displayFormat={$albumartist^^ / ^$album^$date^ (^)}

Question: Is it possible to re-write this so that MinimServer includes the Artist tag if (and only if) there is no AlbumArtist tag?

TIA
Find all posts by this user
Quote this message in a reply
11-08-2021, 09:54 (This post was last modified: 11-08-2021 10:00 by simoncn.)
Post: #2
RE: Artist Tag If No AlbumArtist Tag?
You can use the tagValue property to do this.

1) Add a new tag to itemTags, for example ArtistFormat
2) Set tagValue to ArtistFormat.default={AlbumArtist, Artist}
3) Change your tagFormat settting to: Album.displayFormat={$artistformat^^ / $album^$date^ (^)}

Note the slight change to your format string to improve the formatting for albums with mutliple artists.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)