Project

General

Profile

Feature #780

add library search for accented and other special characters

Added by Blue Clouds over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Minor
Assignee:
-
Category:
plugins/search tool
Target version:
-
Start date:
March 19, 2018
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

Use case: the search term "pajaro" will result in a song "Pajaro.mp3" be found in a library search, but not "Pájaro.mp3". Maybe that could be done? Some music players allow search like that. Also for example with "facade" finding a song "façade.mp3".

History

#1 Updated by John Lindgren over 1 year ago

  • Category set to plugins/search tool

Is there a standard way of doing this in Unicode and/or a library available that would help with it? I wouldn't particularly like to be maintaining a huge character-equivalence table in Audacious.

#2 Updated by Blue Clouds over 1 year ago

John Lindgren wrote:

Is there a standard way of doing this in Unicode and/or a library available that would help with it? I wouldn't particularly like to be maintaining a huge character-equivalence table in Audacious.

Search works fine with Clementine (based on Qt). I did a quick check of its code. It uses a 3rd party library for utf8:
[[https://github.com/clementine-player/Clementine/tree/master/3rdparty/utf8-cpp]]

Search may or may not be from one of the functions in this folder, which is not a library but potentially could yield some ideas:
[[https://github.com/clementine-player/Clementine/tree/master/src/globalsearch]]

Not sure if the above would be helpful though. :-)

Also available in: Atom PDF