Post Reply 
Tagupdatefile
11-12-2020, 23:29
Post: #26
RE: Tagupdatefile
(11-12-2020 22:22)aspaceintime Wrote:  How would you add more than one value to the Favorite string? Separate by a comma?
It's not something you can do with the syntax at the moment, as you can only reference a tag once in indexTag - although Simon has said he'd like to look into it at some point - this is where TagUpdate comes in.

What you need to do is create a new pseudo tag in MinimServer for each filter you want. So, if you wanted a filter for Jazz and a filter for Classical you'd add:
Code:
@FAVORITE=Jazz
+FAVJAZZ=1
@FAVORITE=Classical
+FAVCLASSICAL=1
A tagUpdate file is just a text file you store somewhere on the MinimServer server and you point to it from the MinimServer config setting tagUpdate.

This creates two new tags (in MinimServer) that contain a value of 1 for each song that has a FAVORITE tag with a value of Jazz or Classical.

Then you'd simply reference these tags within your indexTag section as:
FAVJAZZ=1:Favorite Jazz Albums, FAVCLASSICAL=1:Favorite Classical Albums
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Tagupdatefile - Reinibert - 13-10-2018, 10:51
RE: Tagupdatefile - paultaylor - 15-10-2018, 15:00
RE: Tagupdatefile - Reinibert - 17-10-2018, 01:04
RE: Tagupdatefile - simoncn - 20-10-2018, 21:36
RE: Tagupdatefile - Reinibert - 22-10-2018, 23:22
RE: Tagupdatefile - simoncn - 23-10-2018, 10:48
RE: Tagupdatefile - Reinibert - 23-10-2018, 20:12
RE: Tagupdatefile - Reinibert - 09-11-2018, 14:07
RE: Tagupdatefile - simoncn - 09-11-2018, 18:01
RE: Tagupdatefile - Reinibert - 12-11-2018, 12:29
RE: Tagupdatefile - Zyberguran - 22-12-2020, 19:11
RE: Tagupdatefile - simoncn - 12-11-2018, 12:51
RE: Tagupdatefile - br@m - 11-05-2019, 08:57
RE: Tagupdatefile - aspaceintime - 08-12-2020, 18:41
RE: Tagupdatefile - simoncn - 08-12-2020, 19:36
RE: Tagupdatefile - simbun - 08-12-2020, 21:14
RE: Tagupdatefile - simoncn - 08-12-2020, 21:27
RE: Tagupdatefile - simbun - 08-12-2020, 21:57
RE: Tagupdatefile - simoncn - 08-12-2020, 22:12
RE: Tagupdatefile - simbun - 08-12-2020, 23:13
RE: Tagupdatefile - simoncn - 09-12-2020, 08:16
RE: Tagupdatefile - aspaceintime - 09-12-2020, 13:32
RE: Tagupdatefile - simbun - 09-12-2020, 16:47
RE: Tagupdatefile - aspaceintime - 10-12-2020, 14:14
RE: Tagupdatefile - simbun - 10-12-2020, 14:37
RE: Tagupdatefile - aspaceintime - 11-12-2020, 22:22
RE: Tagupdatefile - simbun - 11-12-2020 23:29
RE: Tagupdatefile - Alandbush - 12-12-2020, 01:53
RE: Tagupdatefile - simbun - 12-12-2020, 10:26

Forum Jump:


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