Hi all!

It has been a little over a month since Liquidsoap 1.0.0 was released.
We all hope that you appreciate it and that it fits your streaming
needs!

Debian packages for 1.0.0 are now available in Debian testing and
Ubuntu Precise Pangolin. We are also happy to see the flows page being
progressively filled.

Although things have been relatively slow on the surface since the
release on the mailing lists, the project is moving on! In fact, we
have already started some long-awaited developments, which are
detailed in this message.

We are very interested by your remarks and suggestions about some these news!

==== Language improvements ===

The biggest news concerning actual development is that we have started
to implement records in Liquidsoap. A record looks like this:

contact = [
 name    = "John Savonet",
 email    = "[email protected]",
 login     = fun (password) -> (...) ]

Records can be used to store structured information in a neat way. The
motivation for introducing them is to allow the possibility to export
source's methods as records. For instance this:

# A playlist source
s = source.playlist("...")

# Skip one track
s.skip()

# Insert metadata
s.insert_metadata([("title", "My awesome song!")])

Ultimately, we wish to export all functions that are currently only
available through telnet/server as methods attached to sources.

Support for records is being developed in the LS-592 branch in our
Mercurial repository. It is not yet finished but adventurous users may
want to have a sneak peek :-)

These changes will also require renaming a bunch of operators. We wish
to provide structured name spaces for the multitude of available
operators. For instance, all source-creating operators would be
renamed with a source prefix:

source.fallback
source.switch
source.playlist
source.request.dynamic
etc..

These renaming would allow to better structure all our operators.
Then, for instance, you would do:
  open source
so that all source.foo operators become foo operators, just as with
object-oriented languages.

We are not yet set on all those renaming but we will keep you guys
updated so that you can voice your opinion on them.

For instance, the old playlist and playlist.safe need to be renamed to
fit in the same record, so something like:
  source.playlist.basic
  source.playlist.safe

What do you think? Do you have suggestions?

We are also planning more language features, which we will announce
here as they get in.

=== Flows ===

We are really happy to see more and more radios using our new Flows service:
 http://savonet.sourceforge.net/flows.html

We are now considering innovative ways to use this service.
Here are some of our ideas. Please, do not hesitate to comment on them
or propose new one:
* Export all data as JSON, to use in websites, yellow pages etc..
* Implement missing features from Icecast's information page, such as
a maximun listeners count that survives a source reconnection.
* Implement a simple player using Flows' data to embed in your radio's webpages.
* Add support for WebSockets to receive metatadata updates and other
informations.

Also, since our developing time is rather constrained, we wish to
propose quickly a plug-in support for flows that would allow more
developers to jump in and hack their own services on top of flows.

Obviously, we are eager to welcome contributors on this topic, so do
not hesitate to propose your own ideas and/or code. We currently use
python to implement the flows service so there is no need to get
through OCaml to contribute!


That's all for today folks! We thank you all for your support and hope
you are having a good time with Liquidsoap!

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to