partialproxy - tv only?

Vangelis forthnet northmedia1 at the.forthnet.gr
Sun Jun 7 07:07:09 PDT 2015


On Sat Jun 6 19:09:16 BST 2015, Arthur Murray wrote: 

> Is there a way to use a proxy 
> only for TV and not for Radio?
> partialproxy still uses a proxy for radio or podcasts

Hello...
It is unclear under which environment you are forced to 
use the --proxy option; this is a global option that 
forces GiP to use the specified proxy for all HTTP 
traffic; be informed that rtmpdump lacks HTTP proxy 
support (only Socks4 proxy is supported), so in any flash 
modes (TV/radio) rtmpdump will be trying 
to establish connection with Flash Media Servers (FMS) 
directly from your original (non-proxied) IP address - 
the result of these attempts depends upon individual 
FMS configuration...
>From 2.94's long help:

--proxy, -p <url> 
Web proxy URL e.g. 'http://USERNAME:PASSWORD@SERVER:PORT' 
or 'http://SERVER:PORT'. Sets http_proxy environment variable 
for child processes (e.g., ffmpeg) unless --partial-proxy is specified.

This means with --proxy set, hls modes are downloaded (by ffmpeg) 
through the specified proxy.

--partial-proxy  (requires --proxy)
Only uses web proxy where absolutely required 
(try this extra option if your proxy fails). 
If specified, value of http_proxy environment variable (if any) 
in parent process is retained and passed to child processes.

--partial-proxy thus limits the proxied HTTP traffic to only 
those URLs that are absolutely essential for stream data 
acquisition...hls modes are downloaded (if/when possible) 
with ffmpeg performing a direct connection (non-proxied) 
to AppleHLS CDN servers...

If you have the -p & --partial-proxy stored in your user 
options, then you can download radio & podcasts directly, 
if you so wish, using the CLI and adding the new switch 

--no-proxy 
Ignore --proxy setting in preferences

Alternatively, you can remove -p & --partial-proxy 
from your options, download radio & podcasts 
normally via CLI/GUI and when you want to fetch TV, 
specify -p & --partial-proxy in the CLI (the GUI does 
have proxy support under the "Recording" tab settings, 
however the --partial-proxy switch can't be set there...)

DISCLAIMER: It is not the fault of GiP, i.e. GiP code 
authors/maintainers are not to be blamed if a user 
- after his/hers very own decision - tries to use the code 
in a non-endorsed/acceptable manner...
I believe HTTP support was included to deal with 
controlled environments in the UK (work, school, 
academic institutions) in which Internet access is 
granted via the use of a corporate proxy...

Regards 



More information about the get_iplayer mailing list