Hello everyone,

I'm trying to use liquidsoap.cmxa (aka "lib liquidsoap") to implement a small
graphical program that reads and plays sequentially a playlist. I'm thinking of
reusing some parts of Liquidsoap, like playlist parsing, request queues, Jack
output, etc; which is quite easy since I'm coding this little piece of software
in OCaml ;) Well, at least, trying to.

My question is quite basic: I need to get a grab on what I play and when
(visual feedback + precise, "far-future", duration computations + determinist
playout + Xfading), how much of Liquidsoap can I re-use through libliq, and how
much will I need to reimplement on my own?

I don't think these features can be implemented as a "simple" telnet interface,
unless I give up the playlist part, and switch to feeding request queues. It
will also require constant polling of Liquidsoap to check the elapsed /
remaining time, current song, player state, etc. To put it shortly, I feel that
maintaining consistency between Liquidsoap and the interface will be a real
pain in the neck.

Thanks for your opinions / advice!

Regards,
Vincent

Répondre à