|
Fallback procedure when displayFormat results in an empty string
|
|
09-09-2013, 21:04
Post: #9
|
|||
|
|||
RE: Fallback procedure when displayFormat results in an empty string
(29-08-2013 00:25)winxi Wrote: I think that there is an inconsistency between the cases 1) and 2). It should be either 'Unknown Artist' in both these cases or the content of the single ARTIST tag in case 1) and combined ARTIST tags using the default rule in case 2 (ArtistA, ArtistB, ...). Personally, I would prefer the latter option because otherwise I'd have to apply the custom DISPLAYARTIST tag to all my files, even to those with just a single ARTIST tag. I'm thinking of making a small enhancement to format strings that would help with this. The or sign '|' could be used as a binary operator that selects the second operand if and only if the first operand is absent. For example, Artist.displayValue={$displayartist|$artist} would use the DisplayArtist value(s) if there are any, and would use the Artist value(s) otherwise. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




