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

Alexander Neundorf neundorf at dellingsoft.de
Sun Oct 6 23:15:42 CEST 2002


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

Bye
Alex



More information about the MPlayer-dev-eng mailing list