tellytv / telly

An IPTV proxy
MIT License
761 stars 105 forks source link

Set a WebProxy #145

Closed AndreAga closed 6 years ago

AndreAga commented 6 years ago

Hi guys, I didn't read any info about the chance to add a web proxy as a configuration in order to let Telly to connect to remote channels through it.

Any idea if is it possible? It would be perfect.

Thanks.

guyspr commented 6 years ago

Do you mean that the buffering will go through Telly, instead of Telly just redirecting Plex to the stream?

robbiet480 commented 6 years ago

Proxy support is in the next version of telly!

AndreAga commented 6 years ago

@guyspr yep, I mean buffering through telly and not just a "redirect" to Plex. @robbiet480 what kind of proxy will be introduced?

Thanks,

robbiet480 commented 6 years ago

@AndreAga In the ALPHA 1.5.0 you can now set the URL of a proxy to use for a given request, as indicated by the environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions thereof). HTTPS_PROXY takes precedence over HTTP_PROXY for https requests.

The environment values may be either a complete URL or a "host[:port]", in which case the "http" scheme is assumed. An error is returned if the value is a different form.

More info here.