jpdillingham / Soulseek.NET

A .NET Standard client library for the Soulseek network.
GNU General Public License v3.0
173 stars 24 forks source link

Can't search for term like 'x x x' one character with spaces #800

Closed apkatsikas closed 7 months ago

apkatsikas commented 8 months ago

Encountering this in slskd but it appears to be an issue in this .NET client.

image

slskd endpoint /api/v0/searches returns a 400.

"Search query must contain at least one non-exclusion term with length greater than 1 (Parameter 'query')"

https://github.com/jpdillingham/Soulseek.NET/blob/dbad108a2be2938989939e30783c4585545c4ec4/src/SoulseekClient.cs#L2133C17-L2133C17

I confirmed I can run this query in a client like Nicotine+

jpdillingham commented 7 months ago

Doing some digging I see that this is an option that's on by default, and there's no way to change it in slskd. I've created an issue over there: https://github.com/slskd/slskd/issues/1048