[MPlayer-dev-eng] [wigren at home.se: [PATCH] Selectable User-Agent for HTTP transfers]

Diego Biurrun diego at biurrun.de
Thu Oct 16 00:03:16 CEST 2003


Dave Lambley writes:
 > On Wed, 2003-10-15 at 17:54, Diego Biurrun wrote:
 > > Dave Lambley writes:
 > >  > This patch detects the EOF condition SN creates, and make MPlayer retry
 > >  > with an iTunes UA string automatically.
 > > 
 > > Please also include a patch for the man page if you add an option to
 > > MPlayer.
 > > 
 > 
 > Okay, try this.

 > --- DOCS/en/mplayer.1	14 Oct 2003 13:55:25 -0000	1.451
 > +++ DOCS/en/mplayer.1	15 Oct 2003 17:33:30 -0000
 > @@ -1348,6 +1348,9 @@
 >  .B \-unicode
 >  Tells MPlayer to handle the subtitle file as UNICODE.
 >  .TP
 > +.B \-user-agent <string>
 > +Tells MPlayer to give <string> as the user agent when making HTTP requests.
 > +.TP
 >  .B \-utf8 \ \ 
 >  Tells MPlayer to handle the subtitle file as UTF8.
 >  .TP

OSD/SUB OPTIONS is the wrong section, put it in DEMUXER/STREAM OPTIONS
instead.

Hmm, what about the version that Per Wigren (IIRC) sent?  It also
implemented -user-agent..  What are the differences, which one is
better?

Diego



More information about the MPlayer-dev-eng mailing list