Post Reply 
display order of genre tags
02-02-2017, 12:46
Post: #2
RE: display order of genre tags
You can do this fairly easily with a combination of existing MinimServer features.

Any tag can have an optional sort value and you can specify this sort value by using the value.sort option in the tagValue property. For example, by setting Genre.value.sort={GenreSort}, the value of the GenreSort tag is used as the sort value for the Genre tag. For this to work, you also need to add GenreSort to the itemTags property.

You could populate GenreSort tags by hand but this would be quite tedious. A better approach is to use the tagUpdate facility to create the GenreSort tags that you want. For example, if you have classical genres Symphony and Violin and other genres Pop and Rock, you can put this in your tagUpdate file:

@GENRE=Symphony
+GENRESORT=1Symphony
@GENRE=Violin
+GENRESORT=1Violin
@GENRE=Pop
+GENRESORT=2Pop
@GENRE=Rock
+GENRESORT=2Rock

In combination with the Genre.value.sort={GenreSort} setting, this will put Symphony and Violin ahead of Pop and Rock in the sorted list of genres.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: display order of genre tags - simoncn - 02-02-2017 12:46

Forum Jump:


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