henkelis / sonospy

Sonospy is a UPnP control point and Windows Media proxy for the Sonos multi-room audio system.
GNU General Public License v3.0
113 stars 16 forks source link

Searching Within Sonos App #78

Closed mosukinu closed 9 years ago

mosukinu commented 9 years ago

Hi,

Just completed an install running two instances and all working OK.

When I search through music, it only brings up results that start with the search phrase e.g. if I search for 'Big' then an album called 'Big Soup' is returned but if I search for 'Soup' then no results are returned.

Is this expected behaviour?

Thanks

henkelis commented 9 years ago

I'll have to check, but IIRC it defaults to searching from the start of the string (with an implied wildcard at the end). You should be able to put '%' at the start to get the behaviour you're after - I'll check whether that's an ini option somewhere.

Mark.

----- Original Message ----- From: "mosukinu" notifications@github.com To: "henkelis/sonospy" sonospy@noreply.github.com Sent: Sunday, 22 February, 2015 9:34:41 PM Subject: [sonospy] Searching Within Sonos App (#78)

Hi,

Just completed an install running two instances and all working OK.

When I search through music, it only brings up results that start with the search phrase e.g. if I search for 'Big' then an album called 'Big Soup' is returned but if I search for 'Soup' then no results are returned.

Is this expected behaviour?

Thanks

— Reply to this email directly or view it on GitHub .

mosukinu commented 9 years ago

Hi Mark,

Using % as a wildcard does indeed work as described with the out-of-the-box .ini settings. Many thanks for the quick reply!