Post Reply 
Custom sort order
16-09-2023, 21:17 (This post was last modified: 16-09-2023 21:19 by simoncn.)
Post: #2
RE: Custom sort order
You can do what you want by creating a sort value for each tempo name and associating the sort value with the tag name using the tagValue property. The simplest way to add these sort values is to use a tagUpdate file.

For example, you could create a TempoSort tag that can have the value 1, 2, 3, 4 or 5. For each file with 'Tempo=Very slow' you could set 'TempoSort=1' and so forth.

You could add the TempoSort tags manually but this is tedious and error-prone. Instead, you can create a tag update file with the following entries:

@TEMPO=Very slow
+TEMPOSORT=1
@TEMPO=Slow
+TEMPOSORT=2
etc.

and use the tagUpdate property to activate this tag update file. This causes MinimServer to add the correct TempoSort tags internally when scanning your audio files.

The final step is to associate TempoSort tags with Tempo tags for sorting purposes. To do this, add TempoSort to itemTags and set the tagValue property to:

Tempo.value.sort={TempoSort}

This should do what you want.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Custom sort order - Lakorus - 16-09-2023, 19:20
RE: Custom sort order - simoncn - 16-09-2023 21:17
RE: Custom sort order - Lakorus - 17-09-2023, 13:45

Forum Jump:


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