MinimServer Forum

Full Version: Artist.displayFormat - alternative Felder?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to specify alternative fields in the displayformat? Example: 'Field1' is displayed if information is available, otherwise 'Field2' is displayed.
(06-01-2021 15:33)MusikBaum Wrote: [ -> ]Is there a way to specify alternative fields in the displayformat? Example: 'Field1' is displayed if information is available, otherwise 'Field2' is displayed.

You can but not directly. Smile

First, setup

tagValue property
Code:
Field3.default={Field1,Field2}

then setup

tagDisplay property
Code:
Artist.displayFormat={$Field3}

and setup either

indexTags or itemTags property
Code:
Field1,Field2,Field3

nb - the tag name you use instead of Field3 must not exist

For more detail refer to the User guide Tag Values section
(06-01-2021 16:33)Alandbush Wrote: [ -> ]
(06-01-2021 15:33)MusikBaum Wrote: [ -> ]Is there a way to specify alternative fields in the displayformat? Example: 'Field1' is displayed if information is available, otherwise 'Field2' is displayed.

You can but not directly. Smile

First, setup

tagValue property
Code:
Field3.default={Field1,Field2}

then setup

tagDisplay property
Code:
Artist.displayFormat={$Field3}

and setup either

indexTags or itemTags property
Code:
Field1,Field2,Field3

nb - the tag name you use instead of Field3 must not exist

For more detail refer to the User guide Tag Values section
Thank you very much. Good answer and good software
Reference URL's