PDA

View Full Version : Re: alphabet bar broken again



Guy Albertelli II
2004-05-12, 22:05
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:11
with what dean has suggested it would simply be first in the list, sorted as if
it were a blank space.
-kdf

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