Hola Martin, Thanks for getting back.. see when I run:
liquidsoap /usr/lib/airtime/pypo/bin/liquidsoap_scripts/library/pervasives.liq 'output.icecast(%vorbis, host = "localhost", port = 8000, password ="xxxxx", mount ="liq.ogg", mksafe(single("/var/lib/airtime/tmp/airtime_mvc/application/models/tests/test10003.mp3")))'
all goes well, it authenticates and streams correctly.
but when i try your suggestion i can't find 'pypo' (?)
/usr/lib/airtime/pypo/bin # pwd /usr/lib/airtime/pypo/bin /usr/lib/airtime/pypo/bin # pypo airtime-liquidsoap -bash: pypo: command not found /usr/lib/airtime/pypo/bin # airtime-liquidsoap No output defined, nothing to do.
i have tried: /usr/lib/airtime/pypo/bin # airtime-liquidsoap -c -v --version --list-plugins Liquidsoap 1.0.1+scm Copyright (c) 2003-2012 Savonet team Liquidsoap is open-source software, released under GNU General Public License. See <http://savonet.sf.net> for more information.
It's a puzzle i can't figure out since both Icecast and Airtime are running well.
/usr/lib/airtime/pypo/bin # sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap sudo: unable to resolve host suservidor 2012/11/04 20:40:49 >>> LOG START 2012/11/04 20:40:49 [protocols.external:3] Didn't find "ufetch". 2012/11/04 20:40:49 [protocols.external:3] Found "/usr/bin/wget". 2012/11/04 20:40:49 [main:3] Liquidsoap 1.0.1+scm 2012/11/04 20:40:49 [main:3] Using: graphics=[distributed with Ocaml] pcre=6.0.1 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 ogg=0.4.3 vorbis=0.6.1 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1 alsa=0.2.1 ao=0.2.0 taglib=0.2.0 camomile=0.7.1 faad=0.3.0 portaudio=0.2.0 pulseaudio=0.1.2 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [main:2] DISCLAIMER: This version of Liquidsoap has been 2012/11/04 20:40:49 [main:2] compiled from a snapshot of the development code. 2012/11/04 20:40:49 [main:2] As such, it should not be used in production 2012/11/04 20:40:49 [main:2] unless you know what you are doing! 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [main:2] We are, however, very interested in any feedback 2012/11/04 20:40:49 [main:2] about our development code and committed to fix 2012/11/04 20:40:49 [main:2] issues as soon as possible. 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [main:2] If you are interested in collaborating to 2012/11/04 20:40:49 [main:2] the development of Liquidsoap, feel free to 2012/11/04 20:40:49 [main:2] drop us a mail at <savonet-devl@lists.sf.net> 2012/11/04 20:40:49 [main:2] or to join the #savonet IRC channel on Freenode. 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [main:2] Please send any bug report or feature request 2012/11/04 20:40:49 [main:2] at <http://dev.sourcefabric.org/browse/LS>. 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [main:2] We hope you enjoy this snapshot build of Liquidsoap! 2012/11/04 20:40:49 [main:2] 2012/11/04 20:40:49 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/scm/plugins. 2012/11/04 20:40:49 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. 2012/11/04 20:40:49 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2012/11/04 20:40:49 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2012/11/04 20:40:49 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2012/11/04 20:40:49 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started & init: exception encountered during start phase: Failure("port 1234 already taken")
started by Airtime since i didnt had a previous liquidsoap, the only thing i had was icecast running on the default port 8000.. as the status window tells:
so, the file where password and username should coincide (with icecast.xml) is:
/etc/airtime/liquidsoap.cfg
but there's a message that says:
################################################ # THIS FILE IS AUTO GENERATED. DO NOT CHANGE!! # ################################################
how can i then make sure i have the same settings on both my icecast and the liquidsoap config file if i can't touch that file or via the webinterface i have no options for user/pass on the 'Output Stream Settings' ?
This is insane... after a weekend trying to figure out how to add my icecast 'source' password to liquidsoap via Airtime i finally noticed that, what looks like an already expanded GUI aid labeled as: 'Additional Options' where one can read the stream URL.. well, it's not expanded.. one has to click on it to see more options .... after adding the password it all works now.