AIMP Forum

AIMP for Windows => Предложения / Suggestions => Плеер / Player => Topic started by: xeo on January 15, 2025, 19:46:10

Title: Make searching more smart
Post by: xeo on January 15, 2025, 19:46:10
Change the search method (in Advanced search/ML/Playlists) so that it shows the most similar results, for example when you do not enter special characters.

(https://i.imgur.com/FFBLd1G.gif)
Title: Re: Make searching more smart
Post by: Artem on January 15, 2025, 21:21:06
So, you mean search should ignore all special characters due comparing the words?
Title: Re: Make searching more smart
Post by: xeo on January 15, 2025, 21:51:04
Yes, it could be added as an option to search options menu (https://i.imgur.com/ka5h8TT.png) in case it turns out that there are too many results or something.
However, I don't know how to add it as an option for searching in ML and playlists.
Title: Re: Make searching more smart
Post by: Artem on January 20, 2025, 13:10:26
I think, we can try to test this behavior without the option, and add the option in case of negative feedback
Title: Re: Make searching more smart
Post by: Artem on January 22, 2025, 16:53:53
You can play with it in last nightly build
Title: Re: Make searching more smart
Post by: xeo on February 06, 2025, 16:25:19
Can you make it portable version? I would not like to install another version to not to break the main installation.
Title: Re: Make searching more smart
Post by: CkopoxoD on February 06, 2025, 23:11:42
Can you make it portable version? I would not like to install another version to not to break the main installation.
Just select another folder and Portable version in the installer.
(https://i.imgur.com/rLNJOVL.png)
Title: Re: Make searching more smart
Post by: xeo on February 07, 2025, 02:04:53
You can play with it in last nightly build
Ok, I tested it (build 2658) and with these 4 examples (dots, &, ', -) only without "-" works.
Title: Re: Make searching more smart
Post by: Artem on February 07, 2025, 12:57:58
only without "-" works.

Ok, I will improve
Title: Re: Make searching more smart
Post by: xeo on February 16, 2025, 14:55:18
In build 2659 "&" still doesn't work. I think there can be some problem with space characters.
Also, if you could also include "_" (underscore).
Also, how diacritical characters are working here? In my language while searching some are bypassed and some are not. I would like all of them to be bypassed. But this is of course a problem because there are a lot of diacritical characters in different languages.
Title: Re: Make searching more smart
Post by: Artem on February 16, 2025, 15:00:25
build 2659 "&" still doesn't work

Explain please
Title: Re: Make searching more smart
Post by: xeo on February 16, 2025, 15:16:58
From the above mentioned characters, bypassing these already works: . (dots), ' (apostrophe), - (dash)
And these still not: & (ampersand), _ (underline)
It's in my video example (when typing "aly&fila", nothing is shown until I add space).

Title: Re: Make searching more smart
Post by: Artem on February 16, 2025, 23:33:41
so, you want & be replaced with space character?
Title: Re: Make searching more smart
Post by: xeo on February 17, 2025, 00:44:17
No, I just want AIMP to show the searched files that have in the name "&" (with or without spaces).
So that, for example, "a&b.mp3" and "a & b.mp3" files are found after entering "a&b".
Title: Re: Make searching more smart
Post by: xeo on February 20, 2025, 16:51:49
Now in 2660 it passes all my tests. Although, when I type just "&", it shows all files, not only with "&".
Title: Re: Make searching more smart
Post by: Artem on February 20, 2025, 17:54:31
👍
Title: Re: Make searching more smart
Post by: xeo on March 01, 2025, 22:21:03
In 2663 still the same ("&" shows all files), additionally typing without "_" stopped working (with "_" in file name).
Title: Re: Make searching more smart
Post by: Artem on March 02, 2025, 00:49:34
I've upload new nightly build, please try it.
Title: Re: Make searching more smart
Post by: xeo on March 02, 2025, 00:56:22
5.40.2663_Beta_internal (2025.03.02 00-50)_w64 the same
Title: Re: Make searching more smart
Post by: Artem on March 02, 2025, 01:14:49
5.40.2663_Beta_internal (2025.03.02 00-50)_w64 the same

What exactly the same? Just now the "&" should not be ignored. Can you explain the issue in more details?
Title: Re: Make searching more smart
Post by: xeo on March 02, 2025, 14:40:35
- typing "&" shows all files
- when there is for example a_b.mp3 file, and I type "ab", it is not found.
Title: Re: Make searching more smart
Post by: Artem on March 02, 2025, 15:58:05
- typing "&" shows all files
- when there is for example a_b.mp3 file, and I type "ab", it is not found.

I failed to reproduce these cases on latest nightly build (02 Mart).