[MPlayer-dev-eng] HTTP basic authentication support
bertrand_baudet at yahoo.com
Mon Jun 24 06:53:43 CEST 2002
On Sunday 23 June 2002 08:50 pm, D Richard Felker III wrote:
> On Sun, Jun 23, 2002 at 07:14:48PM -0700, Bertrand Baudet wrote:
> > Comment was:
> > ---------
> > hmm, are you sure it's a good idea to read user and pass from mplayer's
> > stdin? I think it should rather only give the error message and then go
> > to next file/exit. A nice idea would be a -user xxx -pass yyy switch, so
> > a global user/pass for all following urls can be specified.
> > e.g: mplayer -user blah -pass blub http://xxx/1.mpg http://xxx/2.mpg
> > ---------
> > Yes, I kindda agree with that! It's not a really nice integration
> > with the GUI neither.
> > But it would be also nice to have an interaction with the user
> > so it can specify a username/password for a protection space.
> > I should cache(in memory) the username/password for each
> > realm(protection space), so when the user is prompt once for
> > user/pass for a protection space, it will never be prompted again.
> > The cache will not be persistant.
> > Any suggestion, anybody?
> > Anyway, I will add the -user -pass switches.
> Umm, doesn't http://user:pass@server/path make a LOT more sense?
The point of have -user -pass, like Atmos said, it's when you have several
movies at the same location you don't want to provide the same user/pass
in every URL. Those switches will be usefull in this case. You will not have
to alter all URLs to provide the same user/pass.
More information about the MPlayer-dev-eng