MinimServer Forum
tagFormat - some suggestions - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: tagFormat - some suggestions (/showthread.php?tid=586)



tagFormat - some suggestions - Oliviander - 24-04-2013 18:26

Hi Simon,
with all the new 0.71 features MinS evolved to my favourite
Computer Game <g>

Especially the tagFormat section gives many options
to fit MinS to my liking.

MY experiences by now:

In some cases when you use a tag for Tagformating
and you have maaany entries in for this Tag
the result of the Tagformating might be toooo long.
So an option to limit the use of a tag to a fixed number of entries
might often be useful.

Only of cosmetic interest would be the option to show up
a specified text when there are more entries than used.

Example:

If you have 4 Soloists

Soloist_A
Soloist_B
Soloist_C
Soloist_D

artist.displayFormat={$Soloists^[^]^/)
results in the following artist display
[Soloist_A/Soloist_B/Soloist_C/Soloist_D]

An option
artist.displayFormat={$Soloists^[^]^/^3)
resulting only in

[Soloist_A/Soloist_B/Soloist_C]

even when there are more than 3 entries to the soloists tag,
would be imho often be useful. Smile

The cosmetic part would be a 5th option:
artist.displayFormat={$Soloists^[^]^/^3^etc.)
resulting in

[Soloist_A/Soloist_B/Soloist_C]

when there are only 3 soloists
or in

[Soloist_A/Soloist_B/Soloist_C/etc.]

when there are 4 or more soloists Angel

-------------------------------------

And now for something completely different:

using

Discsubtitle.displayFormat
doesn't lead to an error but doesn't have any effect either.

I don't really need that, but I wondered if it should work ? Huh


RE: tagFormat - some suggestions - simoncn - 26-04-2013 16:40

(24-04-2013 18:26)Oliviander Wrote:  An option
artist.displayFormat={$Soloists^[^]^/^3)
resulting only in

[Soloist_A/Soloist_B/Soloist_C]

even when there are more than 3 entries to the soloists tag,
would be imho often be useful. Smile

The cosmetic part would be a 5th option:
artist.displayFormat={$Soloists^[^]^/^3^etc.)
resulting in

[Soloist_A/Soloist_B/Soloist_C]

when there are only 3 soloists
or in

[Soloist_A/Soloist_B/Soloist_C/etc.]

when there are 4 or more soloists Angel

I think this would be a useful enhancement. I'd prefer a slightly different syntax:

artist.displayFormat={$Soloists[3]^[^]^/}
artist.displayFormat={$Soloists[3]/etc.^[^]^/}

Note that there is a '/' before 'etc.'. This allows for specifying:

artist.displayFormat={$Soloists[3]...^[^]^/}

to produce:

[Soloist_A/Soloist_B/Soloist_C...]

Quote:And now for something completely different:

using

Discsubtitle.displayFormat
doesn't lead to an error but doesn't have any effect either.

I don't really need that, but I wondered if it should work ? Huh

The DISCSUBTITLE tag isn't sent to the control point in DIDL-Lite, and it doesn't appear as an index choice, so it isn't valid for either displayFormat or indexFormat. The next release will check for this and disallow it.