MinimServer Forum
Using Work/Movement in Title Tag - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Using Work/Movement in Title Tag (/showthread.php?tid=5590)



Using Work/Movement in Title Tag - bbrip - 02-04-2020 09:16

I am stuck with a little problem that I can't seem to figure out:

I want to display the Work and Movement Tags in the Title field where these are tagged, otherwise use the Title Tag.

In aliasTags I have added "Work:-Title"
That part works just fine.

To combine the Work and the Movement for display purposes, I added in tagFormat: "Work.displayFormat={$work$movement^^^ - }"
to display the Work and the Movement, seperated by a hyphen.

This part does not work. I only get the "Work" displayed but not the "Movement".

Any idea what I am missing?

Thanks

NB: Just noticed I may have posted this in the wrong section of the forums.. Pls move as appropriate.


RE: Using Work/Movement in Title Tag - bbrip - 02-04-2020 12:47

I just figured it out:

The command for the combination of work and movement must be:
Title.displayFormat={$title$movement^^^ - }

This returns the desired result of showing work - movement in the title tag.

EDIT:
Nope, its not quite it. This does not allow me to list "Work" as an index as its being "aliased" as title. Still need to think...


RE: Using Work/Movement in Title Tag - Alandbush - 02-04-2020 20:10

How about

Remove the AliasTags content

TagFormat
Title.displayFormat={$work$movement^^^ - }

This will use the work and movement tag values if present, otherwise default to title.

Nb - I use something similar but also including the movement number

Nbb- I also remove the track number when a movement number is present to prevent both appearing in classical pieces as follows.

tagValue
TrackNumber.replace={MovementNumber}


Edit
You may also like to know how I defined the index for Classical works. It may help you define your Work index.

tagFormat
ClassicalWorks.indexFormat={$WorkComposer^$Work^ - $WorkNumber^, }

ClassicalWorks is a defined index tag, but crucially does not exist on any audio tracks.
The Work... tags on the other hand, do exist as tags with appropriate values.


RE: Using Work/Movement in Title Tag - simoncn - 02-04-2020 21:04

(02-04-2020 12:47)bbrip Wrote:  I just figured it out:

The command for the combination of work and movement must be:
Title.displayFormat={$title$movement^^^ - }

This returns the desired result of showing work - movement in the title tag.

EDIT:
Nope, its not quite it. This does not allow me to list "Work" as an index as its being "aliased" as title. Still need to think...

Instead of aliasing Work to Title, you can use "replace" in tagValue:

Title.replace={Work}

The replaces Title with Work when there is a Work and leaves Title unchanged otherwise. You can still use Work for any other purpose.


RE: Using Work/Movement in Title Tag - bbrip - 02-04-2020 22:04

Alan & Simon, thanks for your hints. I will play with this tomorrow.