mirror of https://github.com/mpv-player/mpv
network: set default user-agent to MPlayer's
SHOUTcast bans "Mozilla" in the user-agent, Vimeo bans "Lavf" (part of the libavformat normal user-agent). "MPlayer 1.1-..." seems to work everywhere, and is close to the intented use (mpv is based on MPlayer, after all).
This commit is contained in:
parent
2254416a5d
commit
f47ead1509
|
@ -54,7 +54,7 @@ char *network_username=NULL;
|
|||
char *network_password=NULL;
|
||||
int network_bandwidth=0;
|
||||
int network_cookies_enabled = 0;
|
||||
char *network_useragent="Mozilla/5.0";
|
||||
char *network_useragent="MPlayer 1.1-4.7";
|
||||
char *network_referrer=NULL;
|
||||
char **network_http_header_fields=NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue