[Savonet-users] ouput.file command via telnet

2009-03-30 Thread Romaric
Hi everybody, I use output.file to recore some mp3 file threw telnet command. - I run output.start to make th efile creation and start recording - I run output.stop to stop the record, copy the file and - And run output.start to the start recording new file But the start and stop telnet

Re: [Savonet-users] ouput.file command via telnet

2009-04-01 Thread Romaric
yes, we could try with hooks, but the ideal would be to wait the end of hook (real closing or strating) to return the telnet command for stop or start. Romaric On Tue, 31 Mar 2009 21:17:09 +0200, Romain Beauxis wrote: > Hi ! > > Le Monday 30 March 2009 16:32:59 Romaric,

[Savonet-users] Error make on latest SVN rev 6546

2009-04-30 Thread Romaric
Hi, I got an error when making last SVN rev 6546 version: /home/saoo/dev/liquid_last/liquidsoap/../ocaml-faad/src/libfaad_stubs.a(faad_stubs.o): In function `ocaml_faad_mp4_total_tracks': /home/saoo/dev/liquid_last/ocaml-faad/src/faad_stubs.c:261: undefined reference to `mp4ff_total_tracks' /ho

[Savonet-users] Issue with metadata using AAC (m4a) files

2009-04-30 Thread Romaric
Hi, Using the revision 6391, when liq plays some AAC files (.m4a) I get the metadata from the files (title, ...) But when I update to the revision 6545, I lost the metadata from the AAC file (liq is not able to retrieve information form files). It works with MP3 files. And faad process is able

Re: [Savonet-users] Error make on latest SVN rev 6546

2009-04-30 Thread Romaric
that you linker is missing > some other libs (mp4ff_* doesn't sound like ocaml). > > 2009/4/30 Romaric : >> I got an error when making last SVN rev 6546 version: >> /home/saoo/dev/liquid_last/liquidsoap/../ocaml-faad/src/libfaad_stubs.a(faad_stubs.o): >> In func

Re: [Savonet-users] Issue with metadata using AAC (m4a) files

2009-04-30 Thread Romaric
David, I find this: (* Disable other formats for now... *) if (format <> "MP3") then raise Not_found ; It has been inserted in the file taglib_plug.ml under "liquidsoap\liquidsoap\src\formats" with the revision 6456 On Thu, 30 Apr 2009 13:46:46 +0200, David Baelde wrote:

Re: [Savonet-users] Issue with metadata using AAC (m4a) files

2009-05-01 Thread Romaric
Hi, Ok I will try. And how to activate the libfaad of liq instead using faad process? Regards Romaric Le 1 mai 09 à 18:16, Samuel Mimram a écrit : > I think that taglib claims that it can handle AAC metadata but in the > end it fails. Could you try adding something like > &g

Re: [Savonet-users] Issue with metadata using AAC (m4a) files

2009-05-11 Thread Romaric
adata using AAC (m4a) files > To: savonet-users@lists.sourceforge.net > Message-ID: <200905031745.28580.to...@rastageeks.org> > Content-Type: Text/Plain; charset="iso-8859-1" > > Hi ! > > Le Thursday 30 April 2009 17:28:15 Romaric, vous avez ?crit : >&g

[Savonet-users] refresh a playlist only if changed

2009-09-02 Thread Romaric Petion
Hi, I would like to use a playlist (from an URL) with randomize, reloaded every minutes. So I use: playlist(reload=60, "http://myserver/playlist.m3u";) But I would like liquidsoap refresh it's internal playlist only if my remote playlist have changed (to avoid that we never played some

[Savonet-users] 3. Re: refresh a playlist only if changed

2009-09-08 Thread Romaric Petion
3. Re: refresh a playlist only if changed The option ID.reload is OK for me. But it's not available in my current version, perhaps in the latest trunk? Regards Romaric - Original Message - From: To: Sent: Friday, September 04, 2009 9:13 PM Subject: Savonet-users Digest, V

Re: [Savonet-users] 3. Re: refresh a playlist only if changed

2009-09-11 Thread Romaric Petion
Hi David, I tested this feature with success!!! Thanks Romaric - Original Message - From: "David Baelde" To: "Romaric Petion" Cc: Sent: Friday, September 11, 2009 11:30 AM Subject: Re: [Savonet-users] 3. Re: refresh a playlist only if changed > Hi Romaric, u

[Savonet-users] Update script values from telnet

2009-09-21 Thread Romaric Petion
Hi, Is there a way to update some numeric values of the script form telnet? For example: blkValue = get_process_output("#{liqDir}/blkValue.sh") radio = fallback(track_sensitive = false, [strip_blank(length=#{blkVlaue}, mix), waiting]) blkValue.sh is a script that return a integer value, and I w

Re: [Savonet-users] Update script values from telnet

2009-09-22 Thread Romaric Petion
.int("jingleValue",5) radio = random(weights = [1, {jingleValue}],[music, jingle]) Regarrds - Original Message - From: "David Baelde" To: "Romaric Petion" Cc: Sent: Tuesday, September 22, 2009 9:27 AM Subject: Re: [Savonet-users] Update script values from

[Savonet-users] Skip only one source with fallback

2010-01-05 Thread Romaric Petion
Hi, I use fallback with 2 sources A and B, and I would like to skip new track for B when it becomes active. And when A become active, I don't want to skip A to a new track. I would like to do something like that: output = fallback(A,B.skip) Regards and happy new year! --

[Savonet-users] Issue with Metadata and fallback with skip source

2010-02-12 Thread Romaric Petion
Hi, I use liquidsoap with 2 sources: 1 from a playlist and the second from equeue. I would like playlist active when equeue empty, and equeue active when something inside. I also want to skip to a new song from the playlist when come back to it. I use the cross_fade for all transitions. # my fa

Re: [Savonet-users] Issue with Metadata and fallback with skip source

2010-02-23 Thread Romaric Petion
Ok, It seems to work as needed! Many thanks Romaric -Message d'origine- De : David Baelde [mailto:david.bae...@gmail.com] Envoyé : mardi 23 février 2010 16:56 À : Romain Beauxis Cc : savonet-users@lists.sourceforge.net; Romaric Petion Objet : Re: [Savonet-users] Issue with Metadat

Re: [Savonet-users] Issue with Metadata and fallback with skip source

2010-02-24 Thread Romaric Petion
lde Envoyé : mardi 23 février 2010 21:35 À : Romaric Petion Cc : Romain Beauxis; savonet-users@lists.sourceforge.net Objet : Re: [Savonet-users] Issue with Metadata and fallback with skip source On Tue, Feb 23, 2010 at 2:32 PM, David Baelde wrote: > I've opened a ticket containing my remar

[Savonet-users] Stop file generation via telnet special command

2010-07-02 Thread Romaric Petion
generation on specified fileName", "stopPodcast", stop_podcast ) Do I need to use a list to store the source created identified by the name? Romaric -- This SF.net email is s

[Savonet-users] Use of while or for instructions into liq script

2010-07-21 Thread Romaric Petion
Hi, Is there a way to use "while .. do" or "for .. do" instructions into liq scripts for loop behavior? When I try to use them I have an "unbound symbol" error regards -- This SF.net email is sponsored by Sp

[Savonet-users] Global variable into script

2010-07-26 Thread Romaric Petion
Hi, I have a question related to variable. I would like to define global variables in top of my script. Then I need to get and/or set new value of these variables into functions. If I modify the value into one function, I would like this new value becomes the new global value for next call of get

[Savonet-users] fadein and fadeout via telnet

2010-12-09 Thread Romaric Petion
Hi all, I have this : 1 http stream added with 1 equeue (request.equeue). I push some songs into the equeue via telnet with push command. Then I would like via telnet to make some fadein and some fadeout on this equeue. I know how to register commands but I don't succeed to make some f

Re: [Savonet-users] fadein and fadeout via telnet

2010-12-13 Thread Romaric Petion
: mySource.fadein mySource.fadeout Need help regards -Message d'origine- De : David Baelde [mailto:david.bae...@gmail.com] Envoyé : vendredi 10 décembre 2010 12:22 À : Romaric Petion Cc : savonet-users@lists.sourceforge.net Objet : Re: [Savonet-users] fadein and fadeout via telnet Hi Ro

[Savonet-users] output.udp and input.udp

2012-01-25 Thread Romaric Petion
nd stereo How to setup the 'format' option into commands to make it running? Regards Romaric -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Micro

Re: [Savonet-users] output.udp and input.udp

2012-01-26 Thread Romaric Petion
eks.org] Envoyé : jeudi 26 janvier 2012 06:38 À : Romaric Petion Cc : savonet-users@lists.sourceforge.net Objet : Re: [Savonet-users] output.udp and input.udp Le 25 janvier 2012 17:16, Romaric Petion a écrit : > Hi guys, Hi Romaric! > I would like to use : input.udp and output.udp to rec

Re: [Savonet-users] output.udp and input.udp

2012-01-30 Thread Romaric Petion
d is: my_src = audio_to_stereo(input.external(id="voice", restart=false, buffer=0.0, channels=1, samplerate=44100,"sox /tmp/audio.wav -c 1 -r 44100 -t raw -")) Regards Romaric -Message d'origine- De : David Baelde [mailto:david.bae...@gmail.com] Envoyé : jeu

Re: [Savonet-users] output.udp and input.udp

2012-01-31 Thread Romaric Petion
Ok it works with your solution Romaric Le 30 janv. 2012 à 20:09, David Baelde a écrit : > Wow, this sucks. It lets you set the number of channels but then > expects that it is the same as the type. Bad design: either we let you > pick the number of channels and the type (difficul

[Savonet-users] input.external

2012-01-31 Thread Romaric Petion
Hi, I use the ‘input.external’ function, and I realize that the ‘resample’ provide bad quality. My input is 32khz type, so resampling has to be done. input.external(samplerate=32000,"cat /tmp/audio.wav") à bad quality So I tried with sox resampling and the result is good input.ext

[Savonet-users] output.external

2012-01-31 Thread Romaric Petion
Hi, I try to use the 'flush' parameter into the 'output.external' function, and LS does not accept my value: flush (int - defaults to false): Perform a flush after each write. I tried integer, and Boolean. Regards ---

Re: [Savonet-users] input.external

2012-02-06 Thread Romaric Petion
arts. 2012/02/06 14:00:39 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. 2012/02/06 14:00:39 [decoder.wav:4] WAV header read (32000Hz, 16bits), starting decoding... Regards -Message d'origine- De : Romain Beauxis [mailto:to...@rastageeks.org] Envoyé : samedi

Re: [Savonet-users] input.external

2012-02-07 Thread Romaric Petion
to:to...@rastageeks.org] Envoyé : mardi 7 février 2012 02:04 À : Romaric Petion Cc : savonet-users@lists.sourceforge.net Objet : Re: [Savonet-users] input.external Hi! 2012/2/6 Romaric Petion : > I do the test with a simple script: > > audio = audio_to_stereo(single("/tmp/test.wav")) > o

[Savonet-users] mono and stereo input files

2012-02-14 Thread Romaric Petion
Hi guys, I use a 'request.queue' via telnet to push medias. Some of them are stereo MP3, but also mono MP3, and I get when mono are puched : 2012/02/14 17:45:48 [server:3] New client: localhost.localdomain. 2012/02/14 17:45:49 [decoder:4] Trying method "META" for "/tmp/flash.mp3"... 2

Re: [Savonet-users] mono and stereo input files

2012-02-15 Thread Romaric Petion
Ok thanks, it works Romaric Le 15 févr. 2012 à 02:39, Romain Beauxis a écrit : > Hi Romaric! > > Le 14 février 2012 10:52, Romaric Petion a écrit : >> I use a ‘request.queue’ via telnet to push medias. >> >> >> >> Some of them are stereo MP3, but