Post Reply 
Sorting
23-05-2014, 16:33
Post: #2
RE: Sorting
(23-05-2014 15:57)Pastim Wrote:  Apologies for starting another thread on this topic. I've seen several posts and the user guide for arranging sorting, but I cannot get it to work the way I want it and my brain is beginning to hurt.

I have a Composer tag and a ComposerSort tag. Composer is 'First Midddle Last', and Composer Sort is 'LAST FIRST MIDDLE' with all characters in plain ASCII. There are some exceptions to this in non-classical music, which is why I want to do the tagging myself rather than rely on run-time functions. I've taught myself regular expressions and can now do this fairly easily, including handling cases where the name starts with 'The' (or 'Los' etc.). So far so good.

This style of tagging should work well with MinimServer.

Quote:In minimserver:

indexTags include Composer
itemTags include ComposerSort.
tagValue includes Composer.value.sort={ComposerSort},Composer.default={ComposerSort}

On browsing (using foobar) I was hoping to see Samuel Adams showing at the top of the list for Composers, but it is showing under S as Samuel Adams. ComposerSort contains ADAMS SAMUEL.

What have I done wrong?

You property settings look OK. Have you checked the log for warning messages? If you have a sort value conflict for the Composer tag value 'Samuel Adams', the sort values(s) for this tag value will be ignored.

Also, have you installed the latest MinimServer update (update 29)? There was a bug in some earlier versions that would cause the symptoms you described.

Quote:The manual also says I should include
tagOptions ComposerSort.reverseName.display

But I don't want to use minimserver's reversename function since I have done it myself. I tried adding this anyway, and it made no difference.

The manual doesn't say you should include this. I presume you are referring to the bulleted list preceded by this sentence:

If you want to be able to handle these cases, one possible way to do this is to use the following slightly more complex tagging approach:

You aren't using the approach described in the bulleted list, so the suggestions in the bullets don't apply in your case.

Quote:I also always have both tags, so I'm not sure if I need the Composer.default setting.

If you always have both tags, you don't need this.

Quote:In the manual I'm also a little confused by the terminology. It refers to the 'sort' value, the 'index' value and the 'display' value. I assume the 'display' is what I see, and the 'sort' is the order in the list. But then what is the 'index'?

This is explained in the first paragraph of this section.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sorting - Pastim - 23-05-2014, 15:57
RE: Sorting - simoncn - 23-05-2014 16:33
RE: Sorting - Pastim - 23-05-2014, 17:36
RE: Sorting - simoncn - 23-05-2014, 19:42
RE: Sorting - Pastim - 23-05-2014, 20:17
RE: Sorting - Pastim - 23-05-2014, 21:04
RE: Sorting - simoncn - 23-05-2014, 22:30
RE: Sorting - Pastim - 23-05-2014, 23:00
RE: Sorting - simoncn - 24-05-2014, 09:48
RE: Sorting - Pastim - 24-05-2014, 10:18
RE: Sorting - swdick - 18-09-2014, 19:08
RE: Sorting - simoncn - 18-09-2014, 19:33

Forum Jump:


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