/*<PATTERN> - special search in playlist
Sometimes it is hard to locate the song, especially if playlist
is big, and user knows only part of the song's name. Lookup in
playlist matches currently starts from the first character, and
if there some leading trash (like "10 - Best Of Jazz..."), or one
isn't sure, what is going first - Artist or Song... You can
imagine how hard it can be to just locate such song in the list.
Added special handling of the search pattern, if it starts with
After search in playlist is started ('/' is pressed), user should
not immediately enter her search pattern but precede it with '*'.
After the '*' remaining pattern (after leading '*' is removed)
does match everywhere in the string, without the anchor to the
begin of string. The patterns without leading '*' are continuing
to work as before.
Log in to post a comment.