TuneIn search API accepts an argument called formats where caller can specify what stream formats it supports. If a stream is not available in any of the requested formats, API call only does not return such stream (the response only contains a placeholder that says "Unsupported stream format").
This PR adds an option to explicitly specify what formats should be included in the response. It also changes the default behavior: queries will now by default request all formats (formats=*) instead of leaving this option blank that yields only streams in formats that TuneIn picked as default.
TuneIn search API accepts an argument called
formats
where caller can specify what stream formats it supports. If a stream is not available in any of the requested formats, API call only does not return such stream (the response only contains a placeholder that says "Unsupported stream format").This PR adds an option to explicitly specify what formats should be included in the response. It also changes the default behavior: queries will now by default request all formats (
formats=*
) instead of leaving this option blank that yields only streams in formats that TuneIn picked as default.I believe this PR should fix https://github.com/kingosticks/mopidy-tunein/issues/50, but I didn't verify this. It did help me another stream that I had exactly the same problem with.