Hi,

Thank you. Everything goes smoothly now. Also dynamic request system up and
running now.

Rgds,

Senaka

On Wed, Jan 11, 2012 at 6:25 AM, Romain Beauxis <[email protected]>wrote:

> Le 9 janvier 2012 04:54, Senaka Amarakeerthi <[email protected]> a
> écrit :
> > Dear All,
>
> Hi!
>
> > I allow site visitors to request songs via a PHP script as follows.
> >
> > radio = ........
> > def next() =
> >   file = list.hd(get_process_lines("php-cgi -q
> > /var/www/requests/requests.php"))
> >   request.create(file)
> > end
> > r = request.dynamic(next)
> > radio = fallback(track_sensitive = true, [r,radio])
> >
> > I would like to play a recorded clip something like ' Another request
> from
> > a listener ' before playing a dynamic request.
>
> For simple uses, you may want to look at prepend:
>  http://liquidsoap.fm/doc-1.0.0/reference.html#prepend
>
> Otherwise, you may want to look at a more flexible solution using
> transitions:
>  http://liquidsoap.fm/doc-1.0.0/cookbook.html (scroll down to the
> "transitions" section)
>
> > Also pass the dynamic queue to PHP script so that PHP script display
> > when dynamic requests are queued. Or else, get dynamic request one by one
> > (one after playing  the previous dynamic request) allowing PHP side to
> queue
> > the requests.
> >
> > Any hint is appreciated.
>
> I am not sure that I understand fully this one. You should be able to
> know when a song is queued by monitoring the calls to your
> "request.php" script. I am getting anything wrong here?
>
> Have a good day,
> Romain
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to