MinimServer Forum
Adding track number to title - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Adding track number to title (/showthread.php?tid=638)



Adding track number to title - Zee - 26-05-2013 07:36

I like to add the tracknumber to to title so the tracknumber is displayed as a prefix to the title in "now playing", in "playlist". and in all search results.

I tried adding the following to the tagFormat property (I want to have a space as separator between the track number and the title), but it doesn't work:
Title.displayFormat={$tracknumber$title^^^ }

What am I doing wrong?

tnx in advance!


RE: Adding track number to title - simoncn - 26-05-2013 07:51

(26-05-2013 07:36)Zee Wrote:  I like to add the tracknumber to to title so the tracknumber is displayed as a prefix to the title in "now playing", in "playlist". and in all search results.

I tried adding the following to the tagFormat property (I want to have a space as separator between the track number and the title), but it doesn't work:
Title.displayFormat={$tracknumber$title^^^ }

What am I doing wrong?

tnx in advance!

There are two problems:

1) Using $tracknumber in a displayFormat string doesn't work in 0.72. It will be supported in the next release.

2) You need to change the format setting to the following:

Title.displayFormat={$tracknumber^^ ^$title}

This adds a space suffix to the $tracknumber value (if present) and appends the $title value (if present).

The separator is used if there are multiple values of the same type, such as multiple artists. For combining values of different types, you need to use a prefix or suffix instead of a separator.


RE: Adding track number to title - Zee - 26-05-2013 07:54

Clear answer Simon. Looking forward to the next release! ;-)