Re: [Savonet-users] Error running liquidsoap

2011-01-08 Thread David Baelde
On Thu, Jan 6, 2011 at 5:44 PM, Denis Kot wrote: > # liquidsoap 'output.shoutcast(%mp3, host="localhost", port = 8000, > password = "password", mksafe(playlist("/tmp/main.m3u")))' > Line 1, char 112: Unknown error > Fatal error: exception Cry.Error(1) Hi Denis, I think you're not having any logs

Re: [Savonet-users] Three small questions

2011-01-08 Thread David Baelde
2011/1/5 Vincent Cassé : > In fact, I want to create a vumeter in an interface. I use telnet or > socket to communicate between Liquidsoap and my gui. I want a value that > represent the audio flow. Maybe the RMS is my need. Please fill in a feature request: we don't have an operator for doing thi

Re: [Savonet-users] Three small questions

2011-01-08 Thread David Baelde
2011/1/5 Vincent Cassé : > I have tested : > file = output.file(%vorbis,"test.ogg",live) >  ignore(server.execute("#{source.id(file)}.stop")) That's because your command is executed before that the source is created. If the output wasn't ignored, it would show an error. The solution is to use a ti

Re: [Savonet-users] Output.file and % syntax

2011-01-08 Thread David Baelde
Hi Pascal, Welcome to liquidsoap and thanks for the feedback after solving your problem. Concerning the metadata in the filename, simply replace "test.ogg" by "$(artist)-$(title).ogg", for example. Also you'll probably want to pass reopen_on_metadata=true to your file output -- find out more on th