Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify stream formats when searching, search all forma… #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olszewst
Copy link

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 #50, but I didn't verify this. It did help me another stream that I had exactly the same problem with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buddha Hits 'not supported'
1 participant