Re: [Mplayerplug-in-devel] file vs smb
Brought to you by:
kdekorte
From: Kevin D. <kde...@ya...> - 2004-11-09 17:27:21
|
Ivan, I set up an SMB share on my local machine and tested the code and it didn't= =20 work. So I made a few more fixes and also fixed a crasher in the code=20 (unrelated) and it does work now... You need to make sure the the html uses= =20 the "filename" property. Kevin On Tuesday 09 November 2004 08:47 am, Kevin DeKorte wrote: > Ivan, > > Oops... that was a feature that was in 0.90 and got dropped inadvertently > in the conversion from the 1.3 code to the 2.0 code. I have just patched > CVS to add this feature back in. I think it will work. I don't have > anything to test it against, but here is the change. > > // check and see if the file exists, if it does not then prepend smb:// > to the filename > if (fexists(localitem) =3D=3D 0) { > strlcpy(tmpdir, "smb://", 1024); > strlcat(tmpdir, localitem, 1024); > strlcpy(localitem, tmpdir, 1024); > } > > Let me know if it works for you. > > Kevin > > On Monday 08 November 2004 09:36 pm, Ivan Kalvachev wrote: > > A long time ago I had send a patch that allowed file://site/ to be > > forwarded to mplayer as smb:// that allows local VoD servers to use sam= ba > > protocol as stream servers. > > > > The patch was revised and accepted. > > > > Now when I personally have access to such site, I find out that this > > functionality have disappeared. To be sure I grepped the whole source a= nd > > didn't found "smb" string in the code. > > > > What happened? > > > > Will You put it back, or will you forward it as file:// to mplayer? > > > > Wish You Best > > Ivan Kalvachev > > iive > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick > > _______________________________________________ > > Mplayerplug-in-devel mailing list > > Mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |