On Wed, Jul 20, 2011 at 6:10 PM, Romain Beauxis <[email protected]> wrote: > A question relative to this that maybe people here can help us > answering is the following: > What would be a nice protocol/API for machine-oriented > communications between liquidsoap and external applications?
I agree with the answers that have been given, JSON in particular sounds good since it is widespread, simple and we already have preliminary support. However, in my opinion, before making the server interface more standardized, we need to integrate it into the scripting language. This is necessary to avoid stupid things like the duplication of insert_metadata and server.insert_metadata, as well as the annoying server.execute() calls, etc. Moreover, once the server is just a way to execute scripted functions, it'll be very easy to adapt it to various formats. I won't start this right now but it's high on my TODO list... -- David ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
