Hello,
I am trying make the number of channels to my output configurable and am
running following line from the command-line
liquidsoap 'xxx = 2; output.icecast(%vorbis(channels=xxx), host =
"localhost", port = 8000, user= "source", password = "hackme",
mount="test.mp3", sine())'
This returns the error "variables are forbidden in encoding formats."
I guess the way to get around this is as follows:
if xxx == 1 then
output.icecast(%vorbis(channels=1), host = "localhost", port = 8000,
user= "source", password = "hackme", mount="test.mp3", sine())'
elsif xxx == 2 then
output.icecast(%vorbis(channels=2), host = "localhost", port = 8000,
user= "source", password = "hackme", mount="test.mp3", sine())'
end
Is this the correct way or this a way to go back to the first method? :)
Martin
--
Open source radio in the cloud. Get yours now! ---> http://airtime.pro
Martin Konecny
Software Developer, Sourcefabric
martin.kone...@sourcefabric.org
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users