[mythtv] [PATCH] Mythmusic: Node sorting

Morten mythtv at e-rasmussen.dk
Sun Jun 6 09:00:11 EDT 2004


Hiya!

Here's a patch for MythMusic, which does the following:

* Case insensitive sorting of nodes in song-lists.

* Sorting of nodes in song-lists cuts out any prepending "The " (case
insensitive).

* When the node-tree is built, any prepending "The " (case insensitive)
is disregarded when looking for existing nodes. (E.g. Albums from the
band "The Doors" will be put under the node "Doors", if such a node
already exists. -- Another example: Albums with the band "Cardigans"
will be put under the node "the cArDiGaNs" if such a node already
exists.)

This significantly cleaned up my node-tree. Hope you all like it. :-)

Cheers,
~Morten

__________________________________________
"There are 10 groups of people in the world:
Those who understand binary, and those who don't."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff.gz
Type: application/x-gzip
Size: 1078 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040606/2885674c/patch.diff.bin


More information about the mythtv-dev mailing list