sailfish-spotify / hutspot

Spotify Controller for SailfishOS. Documentation: https://sailfish-spotify.github.io/hutspot.
MIT License
18 stars 12 forks source link

search and wildcards #30

Closed wdehoog closed 5 years ago

wdehoog commented 6 years ago

Spotify web-api search supports the '' wildcard. It does not seem to search for substrings so if for example you search for 'Gubai' you will not find 'Gubaidulina'. When searching for 'Gubai' you will find her.

Hutspot will append a '*' to the search string if not yet present to make searching easier but what if you want to search for a specific string? Then you don't want the wildcard to be added. Should hutspot never append a wildcard or somehow have it configurable?

wdehoog commented 5 years ago

current solution seems to work fine