Hi Romain,
Im playing with this now. I have the following script:
set("server.telnet", true)
> set("server.telnet.port", 1234)
> set("log.file.path", "/home/martin/liquidsoap/ls.log")
> set("log.stdout", true)
> %include "library/pervasives.liq"
> s = request.queue(id="queue", conservative=true)
> s = cue_cut(s)
> s = mksafe(s)
> out(s)
and I connect through telnet and issue the following command:
queue.push annotate:liq_cue_in="5.0",liq_cue_out="0.0":/home/martin/test.mp3
>
> 0
>
> END
>
> Connection closed by foreign host.
>
>
This causes the telnet client to be disconnected immediately, and no sound
is issued. The version Im using:
martin@martin-ThinkPad-T410:~/liquidsoap$ ./liquidsoap-amd64-natty-seek
> --version
> Liquidsoap 1.0.0-beta+svn (default@01fc4237d2e7:20110615:180522).
Martin
2011/6/13 Romain Beauxis <[email protected]>
> I have just merged the seek branch into default.
>
> I was a huge changeset. I have tried to read and test it but,
> obviously, more testing is needed :-)
>
> Romain
>
> 2011/6/13 Martin Konečný <[email protected]>:
> > Awesome!
> > I can't wait to get started with this, Ill check out the seek branch
> today
> > and do some tests to see how things are working :)
> > Martin
> >
> > 2011/6/9 Romain Beauxis <[email protected]>
> >>
> >> Hi Martin!
> >>
> >> I have a tentative of a seek branch merge to the default branch locally
> >> here. I will test it for a little while before actually pushing it as it
> is
> >> quite big.. :-)
> >>
> >> Romain
> >>
> >> 2011/6/8 Martin Konečný <[email protected]>:
> >> > Thanks David,
> >> > I haven't had a chance to look at this feature since we've been so
> busy
> >> > on
> >> > another branch. It looks like I finally have some time to breath, and
> >> > try
> >> > your suggested solution.
> >> > Martin
> >> > 2011/5/19 David Baelde <[email protected]>
> >> >>
> >> >> Hi Martin,
> >> >>
> >> >> I've been 100% taken by other activities in the past few weeks, I'm
> >> >> catching up only now. Here is a quick answer...
> >> >>
> >> >> 2011/5/13 Martin Konečný <[email protected]>:
> >> >> > I understand the part of setting a boolean
> >> >> > flag to indicate that I've called the skip command, but where would
> I
> >> >> > read
> >> >> > this flag to change the behaviour?
> >> >>
> >> >> You transition function takes two sources and returns the compound
> >> >> source. You can make that function behave differently based on the
> >> >> flag, for example:
> >> >>
> >> >> def transition(from,to)
> >> >> if !has_skipped then
> >> >> add([fade.initial(to),fade.final(from)])
> >> >> else
> >> >> sequence([from,to])
> >> >> end
> >> >> end
> >> >>
> >> >> Hope this helps,
> >> >> --
> >> >> David
> >> >
> >> >
> >> >
> >> > --
> >> > Martin Konecny
> >> > Software Developer, Sourcefabric
> >> > [email protected]
> >> >
> >> > 720 Bathurst St. Suite 203
> >> > M5S 2R4, Toronto, ON, Canada
> >> > +1 (416) 892-8420 (Cell)
> >> > Skype: martin.konecny15
> >> >
> >> > http://www.sourcefabric.org
> >> > http://www.twitter.com/Sourcefabric
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > EditLive Enterprise is the world's most technically advanced content
> >> > authoring tool. Experience the power of Track Changes, Inline Image
> >> > Editing and ensure content is compliant with Accessibility Checking.
> >> > http://p.sf.net/sfu/ephox-dev2dev
> >> > _______________________________________________
> >> > Savonet-users mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >> >
> >> >
> >>
> >
> >
> >
> > --
> > Martin Konecny
> > Software Developer, Sourcefabric
> > [email protected]
> >
> > 720 Bathurst St. Suite 203
> > M5S 2R4, Toronto, ON, Canada
> > +1 (416) 892-8420 (Cell)
> > Skype: martin.konecny15
> >
> > http://www.sourcefabric.org
> > http://www.twitter.com/Sourcefabric
> >
>
--
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users