Hi Adam !

Le mercredi 8 septembre 2010 07:23:04, Adam Castleton a écrit :
> We're looking to develop an application based on liquidsoap, we would need
> it to do the following;

Let's look at some possibilities..

> 1. Play a remote pls playlist

s = playlist("http://server/playlist.pls";)

The playlist needs to be in a compatible format and the webserver declare the 
correct mime. For instance:
audio/x-scpls, audio/x-mpegurl, audio/mpegurl, "video/x-ms-asf";
        "audio/x-ms-asx";
        "text/xml";
        "application/xml";
        "application/smil";
        "application/xspf+xml";
        "application/rss+xml"

> 1a. Tracks in playlist to be played in random order

This is a parameter of the playlist operator.

> 1b. Liquidsoap to check playlist for updates every 10 minutes

Ditto

> 1c. Optional (x minutes) pause between tracks except if they are requests

This is a more tricky requirement. It may need more details to see how to 
implement it. For instance, by optional, do you mean manually trigered ? Also, 
what is a pause, the source being unavailable or a silence being played ?

> 2. Requests accepted from remote telnet request
> 2a. Requests to interject playlist at end of current track

This can be done using a request.queue source and a fallback:

s = playlist(...)
r = request.queue(...)

f = fallback([r,s])

In this case, r will be played before s if it has a song queued at the end of 
the current song.

> 3. Tracks longer than 3 minutes to crossfade early

This is possible, though it needs more details too...

> 4. Very short crossfade between all tracks

This can be acheive using a custom crossfade operator.

> 5. Stream music out to a local installation of iceCast

output.icecast is your friend :-)

> I just wanted to check that all this is possible, and if someone is able to
> help us with the config file?

I think you can do everything ! We can help with config files but our time is 
rather limited these days. We are probably more helpful for debugging existing 
files than for writing them from scratch..

> We would need to run several instances of liquidsoap on one server, playing
> to different mountpoints on the icecast installation.

That's ok too, we know users that run a lot of instances at once..


Good luck with your application !

Romain



------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to