Yo,

The only problem is if you pretend NFS is like any normal filesystem.
If you treat an NFS file as local, and the network lags, liquidsoap
might freeze (although it probably won't crash). In any case, it's a
bad idea.

The good idea is to fetch them locally. You can do this by creating
your own protocol in liquidsoap, that simply copies the file to a
local location. It would go something like
add_protocol(temporary=true,"nfs",get_nfs) where get_nfs takes a NFS
path, together with a timeout which can be ignored, gets a temporary
filename and copies the file there, returning the temporary local
filename as the single element of a list. This protocol will be used
for any URI of the form nfs:PATH.

Have fun,
-- 
David

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to