Sorry, my bad, I had forgotten to commit a file. This should be fixed now ( fa1c32bfdb3fd93dd1b3649134b53a9766bf191f ).
++ Sam. On Thu, Mar 7, 2013 at 4:25 AM, Kyriakos Tsoukalas <[email protected]> wrote: > Hi Samuel, > > On Mar 6, 2013, at 8:57 PM, Samuel Mimram wrote: > >> Hi, >> >> This is quite an interesting application of OSC! It was not really >> possible to do so, but I just commited a patch on the git ( >> 114d1fa908fc9e02547f0de540c11d127d5964cd ) to make it possible. With >> this latest git version you can write the following: > Thank you a lot for having an interest in this feature and for implementing > it (so fast also:) > > Unfortunately, my try (GNU Make 3.81, ubuntu 12.04) for building the latest > git erred in builtins_lo.ml:( > > OCAMLOPT -c lang/builtins_lo.ml > File "lang/builtins_lo.ml", line 39, characters 15-21: > Error: The type of this expression, > ((string * _[> `Bool | `Float | `String ] array) * > (Lang.value array -> unit)) > list ref, contains type variables that cannot be generalized > make[3]: *** [lang/builtins_lo.cmx] Error 2 > make[3]: Leaving directory > `/home/src/liquidsoap/latest/liquidsoap-full/liquidsoap/src' > make[2]: *** [all-auto-ocaml-prog] Error 2 > make[2]: Leaving directory > `/home/src/liquidsoap/latest/liquidsoap-full/liquidsoap/src' > make[1]: *** [all-subdirs] Error 2 > make[1]: Leaving directory > `/home/src/liquidsoap/latest/liquidsoap-full/liquidsoap' > make: *** [all] Error 1 > ) > > Should I do something with my compiler? > > > kind regards, > > Kyriakos > >> >> # Replace with music source >> s = sine() >> s = mksafe(s) >> >> # Create a function to insert metadata >> ms = insert_metadata(s) >> # The function to insert metadata >> imeta = fst(ms) >> # The new source >> s = snd(ms) >> >> # Handler for OSC events (gets pairs of strings) >> def on_meta(m) = >> # Extract the label >> label = fst(m) >> # Extract the value >> value = snd(m) >> # A debug message >> print("Insert metadata #{label} = #{value}") >> # Insert the metadata >> imeta([(label,value)]) >> end >> >> # Call the above handler when we have a pair of strings on /metadata >> osc.on_string_pair("/metadata",on_meta) >> >> # Output on icecast >> output.icecast(%mp3,mount="test.mp3",s) >> >> >> Then each time I am doing something like: >> >> oscsend localhost 7777 "/metadata" ss "title" "The new title" >> >> I get a new metadata :) You should elaborate on this in order to >> output all the metadata at once, but it should help to get you >> started! >> >> Cheers, >> >> Sam. >> >> On Tue, Mar 5, 2013 at 5:32 PM, Kyriakos Tsoukalas >> <[email protected]> wrote: >>> Hi all, >>> I would like to send OSC messages to a liquidsoap (v1.0.1) server and have >>> it perform specific functions (to a harbor stream) per incoming OSC >>> tags(paths). How would I setup an OSC tag function trigger? >>> >>> Thanks in advance, >>> Kyriakos >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> Savonet-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/savonet-users >> >> ------------------------------------------------------------------------------ >> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester >> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the >> endpoint security space. For insight on selecting the right partner to >> tackle endpoint security challenges, access the full report. >> http://p.sf.net/sfu/symantec-dev2dev >> _______________________________________________ >> Savonet-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/savonet-users >> > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
