I have a script that plays tracks off of a text playlist and every hour plays a 
track from an RSS feed. The script works well, however between every track I'm 
getting some annoying audio artifacts. The best way I can describe is it sounds 
like a tape cassette being fast forwarded. It lasts for a split second, but it 
is very jarring. Any ideas where this could be coming from?

My script is below.

set("init.daemon",true)
set("log.file.path","/home/rocket/log/liquidsoap/<script>.log")
set("server.telnet",true)
set("server.telnet.port",1234)
set("tag.encodings",["UTF-8"])
set("server.telnet.bind_addr","127.0.0.1")

scripts  = "/home/rocket/config"

def feedback(m)
        system("#{scripts}/playing.php #{quote(m['filename'])}")
end

news = playlist("http://www.npr.org/templates/rss/podlayer.php?id=500005";)
news = audio_to_stereo(news)
news = delay(3600., news)

songs = playlist(mode="normal", 
"/var/www/Radio/app/webroot/uploads/playlist.txt")

main_source = fallback([songs, news])
main_source = on_metadata(feedback,main_source)
output.icecast(%mp3, fallible=true, mount="/radio", host="10.0.1.29", 
port=8000, password="***", url="http://10.0.1.29:8000/radio";, name="Radio", 
description="Stick it in your ear!", genre="Eclectic",main_source)

Thanks,
Josh Brickner

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to