Hi,

On Sat, Mar 23, 2013 at 7:32 PM, daslicht <[email protected]> wrote:
> * Play a cue sheet

You seem to have figured this one out yourself, using cue_cut().

> * Return current song (can I call a LiquidSoup Script with PHP or NodeJS?)

If you need to query liquidsoap for the current song, then a simple
on_air server command should do. You can also use the store_metadata()
which stores the last N metadata packets it sees, and offers a telnet
command for reading them.

> * Call Script on Song change (call PHP or NodeJS)

For this you have on_track (or on_metadata, it usually doesn't make a
big difference). If you need to call an external script you have
system(). For example: source =
on_track(fun(m)->system("/path/to/script"),source). Or something like
fun(m)->system("/path/to/script "^quote(m["title"])) if you want to
pass a metadata to the script being called.

If you have basic needs and a minimum scripting ability, you should be
able to write your own scripts along the lines I indicated.

HTH
-- 
David

------------------------------------------------------------------------------
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_mar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to