PDA

View Full Version : Re: alphabet bar broken again



Guy Albertelli II
2004-05-12, 22:25
Hi kdf,

> with what dean has suggested it would simply be first in the list, sorted as if
> it were a blank space.

Yep, but if I end up with any other all punct artists, they will be
sorted in 'random' order.

And the alphabet will end up with a ' ' link for them.

Both of these seems somewhat peculiar.

Of course it probably isn't that important. Just thought I'd mention
it.


> Quoting Guy Albertelli II <guy (AT) albertelli (DOT) com>:
>
> > Hi,
> >
> > Just for fun, I do have at least 1 track by the artist
> >
> > !!!
> >
> > Seems like if their name is all punct, it should be left alone?
> >
> >
> > > I was thinking along the lines of making ignorePunct change:
> > >
> > > L.A. Mix
> > >
> > > into:
> > >
> > > L A Mix
> > >
> > > rather than:
> > >
> > > LA Mix
> > >
> > >
> > > On May 12, 2004, at 8:26 PM, kdf wrote:
> > > > Quoting dean blackketter <dean (AT) slimdevices (DOT) com>:
> > > >
> > > >> Ah, gotcha. Thanks. Shouldn't that be "L. A. Mix" anyways? :)
> > > >
> > > > should be able to fix this using ignorePunct in Info::getSortName.
> > > > that, or instead of deleting punctuation in ignorePunct, maybe
> > > > substitute a
> > > > space for all punctuation.
> > > >
> > > > -kdf
> > > >
> > > >>
> > > >> Could you file a bug on http://bugs.slimdevices.com/ against this so
> > > >> it
> > > >> doesn't get lost?
> > > >>
> > > >>
> > > >> On May 12, 2004, at 3:07 PM, michael wrote:
> > > >>
> > > >>>
> > > >>> Hello Dean,
> > > >>>
> > > >>> It looks like this is actually a different problem than the previous
> > > >>> one, just with similar symptoms. (sorry for the mis-lead.)
> > > >>>
> > > >>> On hunting down that file for you (it's from a various artists
> > > >>> collection that I don't dredge up often) I noticed something
> > > >>> unexpected. The file in question doesn't have a TSOP tag at all. In
> > > >>> fact it only has id3v1.1 tags with the artist set as "L.A. Mix".
> > > >>> Which got me wondering why it was sorting under "M" instead of "L".
> > > >>> It turns out that the ignore articles code is responsible for this
> > > >>> one. My "articles to ignore" were set (by default?) as
> > > >>> "A An The El La Los Las Le Les"
> > > >>> If I remove "La" from that list, then "L.A. Mix" sorts under the "L"
> > > >>> where you would expect it.
> > > >>> Apparently the sorting code ignores the intervening '.' but the
> > > >>> alphabet bar doesn't.
> > > >>>
> > > >>> I can still send you the file if you still need it after this
> > > >>> discovery, just let me know.
> > > >>>
> > > >>> Thanks,
> > > >>>
> > > >>> -michael
> > > >>>
> > > >>>
> > > >>> dean blackketter <dean (AT) slimdevices (DOT) com> writes:
> > > >>>
> > > >>>> Michael,
> > > >>>>
> > > >>>> Can you send me a copy of the file in question so I can test?
> > > >>>>
> > > >>>> Thanks,
> > > >>>>
> > > >>>> dean
> > > >>>>
> > > >>>> On May 12, 2004, at 12:31 PM, michael wrote:
> > > >>>>
> > > >>>>>
> > > >>>>> Hello again,
> > > >>>>>
> > > >>>>> The fix applied to this problem seems to be just slightly
> > > >>>>> incomplete.
> > > >>>>> That is, it did wonders for the majority of the cases, but for some
> > > >>>>> reason "L.A. Mix" (TSOP of "Mix, L.A.") is still immune to the fix
> > > >>>>> (that is, it's still not working for that one artist. The page bar
> > > >>>>> contains ...J K L M L M N O... ).
> > > >>>>>
> > > >>>>> I'm not sure why just this one artist is still broken, but I'm
> > > >>>>> hoping
> > > >>>>> that a trivial change to the previous fix will rectify the
> > > >>>>> situation.
> > > >>>>>
> > > >>>>> Thanks again,
> > > >>>>>
> > > >>>>> -michael
> > > >>>
> > > >>>

kdf
2004-05-12, 22:34
Quoting Guy Albertelli II <guy (AT) albertelli (DOT) com>:

> Hi kdf,
>
> > with what dean has suggested it would simply be first in the list, sorted
> as if
> > it were a blank space.
>
> Yep, but if I end up with any other all punct artists, they will be
> sorted in 'random' order.
>
> And the alphabet will end up with a ' ' link for them.
yup, but not so horrible as a list of punctuation, or the alphabet broken by punc.

> Both of these seems somewhat peculiar.
>
> Of course it probably isn't that important. Just thought I'd mention
> it.
can win 'em all. :)
-kdf