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:
wm4 2013-02-24 21:53:51 +01:00
parent 2254416a5d
commit f47ead1509
1 changed files with 1 additions and 1 deletions

View File

@ -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;