Hi, Reading the title, it might be tempting to say, "well don't do that
:)", but I think this case should be handled gracefully. Also we found this
problem because we had a track that was corrupted and was reporting its
length as much longer than it really was, hence we discovered this weird
situation :)

Recreating this bug is simple. Just use the following attached script,
telnet into Liquidsoap and issue the following command (make sure the track
is shorter than 600 seconds):

queue.push
> annotate:liq_cue_in="600",liq_cue_out="700":/home/martin/tmp/x.mp3




set("log.file.path", "liq.log")
>
> set("log.stdout", true)
>
> set("server.telnet", true)
>
> set("server.telnet.port", 1234)
>
>
>
>
> queue = audio_to_stereo(id="queue_src", request.equeue(id="queue",
> length=0.5))
> queue = cue_cut(queue)
>
> queue = mksafe(queue)
>
>
>
>
>
> output.alsa(queue)
>



I haven't tested this on the Liquidsoap 1.1 beta yet because of taglib
dependency mentioned in previous email, but the Liquidsoap I am running
this script on is fairly recent:

$ liquidsoap --version
> Liquidsoap 1.0.1+scm (@:20121101:112655)


M
~

-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to