MinimServer Forum
Empty Title Defaults to FileName? - Printable Version

+- MinimServer Forum (http://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Music Tagging (/forumdisplay.php?fid=9)
+--- Thread: Empty Title Defaults to FileName? (/showthread.php?tid=4164)



Empty Title Defaults to FileName? - qblack - 21-09-2017 18:43

Much as the originator of this thread from a few years back - http://forum.minimserver.com/showthread.php?tid=566&highlight=grouping+tag - I have been trying to make my classical music tagging more granular using Work, Movement and Movement Number tags in place of Title, etc. I feel this is a better fit for most classical works with the added benefit of making the work easily searchable, if indexed.

I recombine the above tags with a Title tagFormat property of, say, Title.displayFormat={$work^$movementnumber^: ^. $movement}. So far, so good.

But I wanted to make a Title tagFormat that would also work for files that did not have Work, Movement tags, etc., just the original Title.

I put $title before $work above. It works for files with just a Title. But it seems that Title gets special treatment by MinimServer and, for files that do not have a Title tag, the filename is inserted rather than an empty string. So now, for a file with no Title tag, just Work, Movement, etc., I get <filename><work tag><movementnumber tag>: <movement tag>.

Is there a way to configure MinimServer to prevent this behaviour?


RE: Empty Title Defaults to FileName? - simoncn - 21-09-2017 19:45

You can use aliasTags to rename Title to TitleTag (or any other name of your choosing), then use $titletag instead of $title in your displayFormat expression.


RE: Empty Title Defaults to FileName? - qblack - 21-09-2017 21:05

(21-09-2017 19:45)simoncn Wrote:  You can use aliasTags to rename Title to TitleTag (or any other name of your choosing), then use $titletag instead of $title in your displayFormat expression.

Excellent, thank you!