[MPlayer-dev-eng] Re: Added new protocol smb://

D Richard Felker III dalias at aerifal.cx
Tue Oct 8 23:20:37 CEST 2002


On Sun, Oct 06, 2002 at 11:15:42PM +0200, Alexander Neundorf wrote:
> On Sunday 06 October 2002 21:31, you wrote:
> > Kim Minh Kaplan wrote:
> > > Gábor Lénárt writes:
> > > > What is wrong about mounting file systems?
> > >
> > > To do this you need root privileges.  If you use an automounter then
> > > you might run into login/password and uid mapping difficulties.  Also
> > > I believe smbfs is very Linux specific.
> >
> > And what's wrong about using existing tools ?
> >
> > smbclient //system/share pass -c "get path\filename -" | \
> >   grep -v "^\(added interface\)\|\(Can't determine\)" | \
> >   mplayer -
> >
> > Would be nice to teach smbclient to write errors to stderr though...
> 
> $ mkfifo /tmp/my_fifo
> $ chmod 666 /tmp/my_fifo
> $ smbclient //system/share pass -c "get path\filename /tmp/my_fifo" 
> 
> # in a different terminal:
> $ cat /tmp/my_fifo | mplayer -
> 
> But you need samba > 2.2.5 or the patch from 
> http://lisa-home.sourceforge.net/smbclientpatch.html

Also this does not allow seeking. *sigh*

Rich




More information about the MPlayer-dev-eng mailing list