Post Reply 
Handling vinyl sides in tracknumber tags.
08-07-2018, 19:00
Post: #4
RE: Handling vinyl sides in tracknumber tags.
(08-07-2018 08:11)simoncn Wrote:  The UPnP ContentDirectory specification defines the originalTrackNumber property as an integer and this is why MinimServer requires an integer value in the TRACKNUMBER tag.

You should be able do what you want without changing your tagging scheme by doing the following:

1) Create a tagchanges.txt file containing the following:
@TRACKNUMBER=A1
+TRACKNUM=101
@TRACKNUMBER=B1
+TRACKNUM=201
etc.

2) Add tracknum and tkn to itemTags

3) In aliasTags, add Tracknumber:tkn

4) In tagValue, add Tracknumber.default={tracknum, tkn}

5) To see the A/B-style track number in the track title, add Title.displayFormat={$tkn^^. ^$title} to tagFormat

Thanks Simon, that did the trick! I still think this behavior should be baked in rather than customized, but understand why it isn't, and am glad the software is customizable enough for this to be possible.

Can you take a moment explain why 4) works though? The docs for the .default option say

Quote:If the target tag isn't present in the audio file, the first source tag name that is present in the file (if any) is used to provide the values for the target tag.

So in this case, are invalid tags treated as if they are not present in the audiofile?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Handling vinyl sides in tracknumber tags. - LastSilmaril - 08-07-2018 19:00

Forum Jump:


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