MinimServer Forum
trying to prevent using >> Show All - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: trying to prevent using >> Show All (/showthread.php?tid=5166)



trying to prevent using >> Show All - aliasname - 11-01-2019 11:27

Is there a way to simply use a tagentry 2 times?

I first looked at aliasTags but there is says source could only be used once.
What I'm after is to use albumaritsts 2 times.
Something similar to this
aliasTags:albumartist:aa[a-z], albumartist:aa
alphagroup:aa[a-z]
indexTags:aa[a-z]:albumartist [a-z], aa:albumartist

so that I could have 2 entries side by side, once with alphagrouping for easier diving down the tree, and the other one for an overview.
Without the need the rather uncomfortable way (showExtras=true) going down
albumartist > show all > view all > aristname > n albums > show all > view all .... done


RE: trying to prevent using >> Show All - simoncn - 11-01-2019 12:33

You can do this with the 'default' option of tagValue, like this:

tagValue: AlbumArtistAZ.default={AlbumArtist}
alphaGroup: AlbumArtistAZ
indexTags:AlbumArtistAZ: AlbumArtist [a-z], AlbumArtist

I have omitted the special characters [ ] - from the tag name itself. Special characters are not illegal in tag names but they might cause problems with parsing some MinimServer property settings either now or in the future.


RE: trying to prevent using >> Show All - aliasname - 11-01-2019 17:02

(11-01-2019 12:33)simoncn Wrote:  You can do this with the 'default' option of tagValue, like this:

tagValue: AlbumArtistAZ.default={AlbumArtist}
alphaGroup: AlbumArtistAZ
indexTags:AlbumArtistAZ: AlbumArtist [a-z], AlbumArtist

I have omitted the special characters [ ] - from the tag name itself. Special characters are not illegal in tag names but they might cause problems with parsing some MinimServer property settings either now or in the future.

Didn't work at the first attempt, but now does ... I might have made a mistake somehow. ;-) Brilliant one.