Hi list! let's say thanks a lot to David and Romain for the advices,
I think i found the problem, i compiled as root and run everything as a system user, although I chmod 777 the scripts, it seems must be owned by the user in order to work, when i did "chown user /savonet -R" it starts working, at least typing $./myscript this is the output: $ ./myscript.liq 2007/05/09 21:22:30 >>> LOG START 2007/05/09 21:22:30 [main:3] Liquidsoap 0.3.2+svn (trunk/[EMAIL PROTECTED]) 2007/05/09 21:22:30 [extproto:3] Found "/usr/bin/wget" 2007/05/09 21:22:30 [extproto:3] Didn't find "ufetch" 2007/05/09 21:22:30 [threads:3] Created thread "light task scheduler" (1 total) 2007/05/09 21:22:30 [threads:3] Created thread "root" (2 total) 2007/05/09 21:22:30 [root:3] Waking up active nodes... 2007/05/09 21:22:30 [playlist.pls:3] Loading playlist... 2007/05/09 21:22:30 [playlist.pls:3] Prepared "/data/streaming/liquidsoap/clock.mp3" -- rid 4 2007/05/09 21:22:30 [mount:3] Connecting mount mount for [EMAIL PROTECTED] 2007/05/09 21:22:30 [mount:3] Connection setup was successful. 2007/05/09 21:22:30 [mount:3] Setting up an Ogg/Vorbis encoder... 2007/05/09 21:22:30 [mount:3] Sending the first header ... 2007/05/09 21:22:30 [root:3] Broadcast starts up! 2007/05/09 21:25:02 [playlist.pls:3] Finished with "/data/streaming/liquidsoap/clock.mp3" 2007/05/09 21:25:02 [playlist.pls:3] Prepared "/data/streaming/liquidsoap/live_start.mp3" -- rid 5 2007/05/09 21:28:00 [playlist.pls:3] Finished with "/data/streaming/liquidsoap/live_start.mp3" 2007/05/09 21:28:00 [playlist.pls:3] Prepared "/data/streaming/liquidsoap/live_stop.mp3" -- rid 6 it loops and over and over again until i press CTRL + C (or launch it with -d) and the mount point appears on my icecast2 COOL!! Now can somebody teach me a little bit about advanced configurations? 1) I'd need to reencode on the fly mp3 songs and create parallel mount points with the same playlist but different bitrates 2) I'd need to add jingles everytime a client connects, i found examples in the savonet website, i will try them. 3) I'd need something like a "check service" that if a mount point is off, play something while i fix it (does liquidsoap support that?) 4) I'd need to create a switchable online-to-offline mount point, because actually i have a client who streams live to icecast2 at 8-10am using winamp and when he disconnects call me to the office to launch an offline mount point with the same name. The idea is to avoid the call and create something that detects when he connects or disconnects. Any advice, help, idea or whatever is welcome =) Jorge ----- Mensaje original ----- De: "David Baelde" <[EMAIL PROTECTED]> Responder a: [EMAIL PROTECTED] Para: Cc: [email protected] Fecha: 2007-05-09 15:26:29 Asunto: Re: Re: [Savonet-users] hi list and first question > Hi, > > You have a very complete configuration now :) Let me just point out > the useless items in that list (libs on which liquidsoap doesn't > depend): > > ocaml-musicbrainz > > ocaml-theora > > ocaml-fetch > And finally we've had some reports of bugs which relied on the use > of > samplerate: > > ocaml-samplerate > If you also experience that samplerate causes problems, please > report it! > > > 2007/05/09 16:45:18 [decoder:3] Unable to decode > "live_start.mp3"! > > That's unfortunate. Maybe this MP3 is not recognized by libmad ? > That's really strange... Please try with some ogg files too. If the > file is not too big, you can also send it to me personally. Let me > give you a very simple script example that doesn't rely on files: > > set socket = false > set log.dir = "/tmp" > mksafe = fun (s) -> fallback(track_sensitive=false,[s,blank()]) > output.ao(mksafe(input.http("http://dolebrai.net:8000/dolebrai.ogg" > ))) > > Good luck! > -- > David ------------------------------------- Saca tu propia cuenta de email gratis en Colombia entrando a http://mail.conexcol.com
