MinimServer Forum
Add suffix in tag display - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Add suffix in tag display (/showthread.php?tid=5816)

Pages: 1 2


Add suffix in tag display - stefano_mbp - 05-09-2020 14:50

I was wondering if it should be possible to add a suffix to a tag, without modifying it in the file of course.
For example, I have the Conductor tag that is displayed like
Herbert von Karajan
I would like to display it as
Herbert von Karajan (conductor)


RE: Add suffix in tag display - simoncn - 05-09-2020 16:05

Where do you want this to display? The UPnP protocol does not allow the server to send a Conductor value to the control point. Are you including the conductor name in a formatted artist string?


RE: Add suffix in tag display - stefano_mbp - 05-09-2020 16:23

Yes, it should be fine to distinguish the conductor from the other artists


RE: Add suffix in tag display - Donuk - 05-09-2020 16:47

If I may bend this thread a little. I think I know what the o/p wants to achieve.
My own personal wish is that I can insert "Composer: " in front of my composer tags as they scroll on my Linn streamer or show up in my control app.
So I see "Composer: Lennon~McCartney" instead of "Lennon~McCartney" which is of course in the metadata.
I am sure it is easy.
Apologies if this is totally irrelevant.
Donuk


RE: Add suffix in tag display - simoncn - 05-09-2020 17:37

Continuing with the original topic of the thread for now and ignoring the interaction with multiTag, you could set tagFormat to something like this:

Artist.displayFormat={$artist^$conductor^, ^ (conductor)^}

You will also need to add Conductor to either indexTags or itemTags.


RE: Add suffix in tag display - simoncn - 05-09-2020 17:52

For Donuk's version, the format string would be:

Artist.displayFormat={$artist^$composer^, Composer: ^}

Again, this doesn't work with multiTag.


RE: Add suffix in tag display - stefano_mbp - 05-09-2020 18:14

it works, but I must remove the multiTag property.
It is much more important to me multiTag property so I shall live without "(conductor)"
Thank you for the effort


RE: Add suffix in tag display - simoncn - 05-09-2020 20:00

Do you see these conductors (without the suffix) at present? If so, there might be some other approach that could work. Please post a screen shot showing what you are currently seeing for conductor information.


RE: Add suffix in tag display - stefano_mbp - 05-09-2020 21:06

(05-09-2020 20:00)simoncn Wrote:  Do you see these conductors (without the suffix) at present? If so, there might be some other approach that could work. Please post a screen shot showing what you are currently seeing for conductor information.

Thanks Simon
You can find here the screenshot of the track detail in Lumin app
Seiji Ozawa is the Conductor

The artist is identified by the half body icon

I use this content in tagValue
tagValue Artist.merge={AlbumArtist, ARTISTS, Soloists, Conductor, Orchestra}, Decade.default={Date}, Album/Work.default={Album}

As you can see this merge in Artist the content of the described tags.
The intent should be to show the Conductor (as an Artist) with the “(conductor)” suffix (ie in this example “Seiji Ozawa (conductor)”


RE: Add suffix in tag display - simoncn - 06-09-2020 09:19

Thanks for explaining your use of Artist.merge. Unfortunately it isn't possible to apply tag formatting to the Composer value before it is merged into the list of Artist values.