We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mopidy defines a proxy configuration which we should use for all our requests.
The text was updated successfully, but these errors were encountered:
Something like:
from mopidy import httpclient def TuneInBackend.__init__(...) proxy_string = httpclient.format_proxy(config) proxy_scheme = proxy_string.split('://', 1) if proxy_string and proxy_scheme: proxy = {proxy_scheme : proxy_string} else: proxy = None tunein.TuneIn(config['tunein']['timeout'], proxy) def TuneIn.__init__(..., proxies=None): if proxies: self._session.proxies = proxies
Sorry, something went wrong.
https://docs.mopidy.com/en/develop/extensiondev/#example-using-requests-sessions
e0ff768
No branches or pull requests
Mopidy defines a proxy configuration which we should use for all our requests.
The text was updated successfully, but these errors were encountered: