plintx / mopidy-radionet

Mopidy extension for playing music from radio.net http://www.mopidy.com
Apache License 2.0
11 stars 5 forks source link

Do not search if query is not for 'any' #14

Closed daniele-athome closed 3 years ago

daniele-athome commented 3 years ago

Mopidy-Radionet will crash (and make the Mopidy search system crash with it) if the query has no key "any". This happens when searching specific fields. Since searching for a radio name only makes sense with "any", my patch will make mopidy-radionet skip the search entirely if "any" isn't present.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.4%) to 59.93% when pulling 11d6312daa96588a62873f9595385735477f94ad on daniele-athome:mpd-search-bug into 7fefee808dcce58da28a437efcdadb2fcccbc80e on plintx:master.