daneren2005 / Subsonic

Home of the DSub Android client fork
GNU General Public License v3.0
583 stars 162 forks source link

Search for short title namens not working #1104

Open HolyMacarony opened 2 years ago

HolyMacarony commented 2 years ago

If I search for three letter song titles, there simply is no search result. Example : "Sie" a song by Bodo Wartke in the album Klaviersdelikte cannot be found via search. Screenshot_20220513-191612.jpg Also there should be hundreds of songs Containing this string, but there are just no songs at all. The app M. A. L. P. finds every song title Containing the string "sie".

Screenshot_20220513-191549.jpg DSub does not. What is the reason for that? Thank you

popeen commented 2 years ago

What backend/server are you using?

This sounds like it might be an API issue, Madsonic for example is not fully Subsonic compatible when it comes to the search endpoint but DSub has a specific check for this, maybe there are other backends with the same problem that need to have special cases added.

I am unable to reproduce this issue on Subsonic, Airsonic, Madsonic and Booksonic servers.

Screenshot_20220804-233046_DSub Screenshot_20220804-232832_DSub

HolyMacarony commented 2 years ago

Thank you very much for looking into this. I am using Airsonic-advanced with mariadb for years now. That it works for you with just Airsonic is really strange though. Maybe the problem lies within the way wildcards are used when searching. Because in my example above the full filename is:

1-11 Sie.flac

This is how they Look in the filesystem. Screenshot_2022-08-05-10-14-12-12_754cf9a4094c34a8eeb04648e2e3eb8d.jpg

Maybe you coud rename your file and see if anything changes? Thank again!