neralex:
> Hey!
> 
> I found the example "Notify when a song is played":
> 
> http://liquidsoap.fm/doc-1.2.1/on2_part2.html
> 
> "Once the stream is started, we may want to be able to keep track of the 
> songs that are played, for instance to display this information on a 
> website."
> 
> Can me someone please explain how it works?
> 
# test execute script on_metadata
#playlist = on_metadata(fun (meta) -> system("echo " ^ quote(meta["title"] ^ 
"\n" ^ meta["artist"]) ^ " > /webserver_docroot/now.html"), playlist)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to