PDA

View Full Version : Minor bug perhaps



Kevin Walsh
2004-12-09, 09:03
Andrew Lucas [alucas1 (AT) slb (DOT) com] wrote:
> (Article auto-converted from unnecessary HTML to nice plain text.)
>
> When searching by artist for example, if using the remote to enter the
> text to search by, the letter sequence isnt quite right.
>
> ie, if you want to get a number, you have to cycle around the letters
> twice - it goes "ABCABC2"
>
> Small thing but minor irritation if searching for "U2".
>
That'll be because of the @numberLettersMixed array in the
Slim::Buttons::Input::Text module. You get "abcABC2", and the
initial "abc" gets converted to upper-case. Various modules make
use of the "INPUT.Text" mode and some of them make use of the
lower-case letters.

The solution would be for the caller to supply its own array. It
could be defined in the Slim::Buttons::Search module and applied as
an arrayref in various places in the %menuParams hash, probably using
the 'numberLetterRef' key.

Another solution would be to delete all albums by U2. :-)

--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin (AT) cursor (DOT) biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/