On Mon, Feb 22, 2010 at 8:55 PM, Nick Coons <m...@nickcoons.com> wrote: > Does it support all of the various clients that Icecast does (i.e. > shoutcast, ices, darkice, etc)? If so, I think I'd like to pursue in > this direction.
Yes, input.harbor follows the same protocol so it should support all clients. It can also simulate a shoutcast server (maybe not perfectly but romain has worked hard so that shoutcast clients work as far as we know) but shoutcast is limited because it doesn't have a notion of mountpoint. >> If you have several input.http() you could dynamically switch from one >> to the other using switch() and dynamic predicates. For example: >> switch(track_sensitive=false,[ >> ({test_process("test -f file_one")},mount_one), >> ({test_process("test -f file_two")},mount_two), >> ...]) > >> Using mix() you can also obtain a more efficient mechanism (one which >> doesn't poll files continuously) for the same effect. > > Can you elaborate on this? It looks interesting, but I'm not sure I'm > following. I was pointing at the fact that switching doesn't need to be based on time. When you write {0h-12h} it's a function that tells whether it's between midnight and noon, but any other function works, for example {test_process(...)} is a function that calls a process and says whether it returned successfullly or not. Note that {...} is a shortcut for (fun () -> ...). Finally forget what I said about "dynamically creating input.http/harbor". I was wrong about it. What liquidsoap doesn't support is creating output-like ("active sources") sources, but input.http/harbor are actually passive. Active sources are outputs, soundcard inputs and a few other such as strip_blank which has to actively pull blank when it's stripping. You can forget about all that for now. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users