Hello Romain,

Thank you for the link,

i've already tried to execute following code (using annotate near track),
but it does not make any cue points (but it plays tracks ok)

>
> request.create("annotate:liq_cue_in=\"10.\",liq_cue_out=\"45\":/path/to/track")


as i found in your letter:
http://comments.gmane.org/gmane.comp.audio.liquidsoap.user/4410 .
But it actually does not make any cut on the tracks. Perhaps i'm doing smth
wrong?

My code looks like the following:

def php.getNextTrackName() =
>   list.hd(get_process_lines(SCRIPT_DIR ^ "nexttrack.php --station-id='#{
> station.id}'"))
> end
> # Callback for request.dynamic
> def track.next() =
>   track = php.getNextTrackName();
>   request.create("annotate:liq_cue_in=\"10.\",liq_cue_out=\"45\":#{track}")
> end
> playlist = request.dynamic(track.next)


I was unable to make same code as given by you in those letter (to define
callback that returns string), because callback return value should be
request.

2013/2/7 Romain Beauxis <[email protected]>

> Hi,
>
> 2013/2/7 Alexander <[email protected]>:
> > I wanted to ask about request.dynamic functionality, it is very comfort
> for
> > us to use it to ask external script about each next track.
> > Is it possible somehow to make individual fades and cue points for each
> > track?
>
> As I pointed out yesterday, the documentation for seek points is there:
>   http://liquidsoap.fm/doc-1.0.1/seek.html
>
> Your questions is answered there. It works exactly the same way as the
> example with a playlist, except that you use request,dynamic instead..
>
> Romain
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
Kind regards,
Alexander.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to