Post Reply 
Sorting
23-05-2014, 15:57 (This post was last modified: 23-05-2014 16:14 by Pastim.)
Post: #1
Sorting
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'm running minimserver 0.8.1 update 29.

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.

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?

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.

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

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'?

Anyone's help would be much appreciated. Once this works I have several other tags that I need to process in the same way.
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)