-
Notifications
You must be signed in to change notification settings - Fork 20
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 full proxy support #87
Conversation
This PR gets the Kodi global proxy settings and then applies those to all invocations of requests. This is the first implementation that adds full proxy support. In the future I would like to add 2 additional features so that users can select between: - Use Kodi proxy settings (default) - Disable proxy support for this addon - Custom proxy settings (for this addon) The current PR implements the first (default) option.
@mediaminister @pietje666 Please review! PS I updated the wiki page with ideas, feedback welcome. |
While testing (easiest is to remove your default gateway when the proxy is in your local network) I discovered that streaminputhelper is not proxy-aware either. So DRM-enable content (i.e. live streams) fail to work because But our addon at least is using the proxy fully. |
ccc1b45
to
64924de
Compare
64924de
to
4e610b7
Compare
SOCKS proxy support requires the requests[socks] library which is currently unavailable on standard Kodi repositories.
308934d
to
0e5807b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR gets the Kodi global proxy settings and then applies those to
all invocations of requests.
This PR also prefixes log messages using
[plugin.video.vrt.nu]
so it is clear where log messages are coming from.This is the first implementation that adds full proxy support.
In the future I would like to add 2 additional features so that users
can select between:
The current PR implements the first (default) option.