[Savonet-users] Help with reopen_when execution time definition

2021-02-12 Thread Alejandro Ferrari
Hi all! I'll like to ask if there exist other options to pass time into reopen_when function. # Dump the stream > filename = > '#{storage_dir}/encoder-fm-#{device_id}/recording-%Y-%m-%d-%H_%M_%S.mp3' > output.file(%mp3(stereo=false,bitrate=64,samplerate=44100),filename, > reopen_when={0m or 5m or

Re: [Savonet-users] Help with reopen_when execution time definition

2021-02-13 Thread Alejandro Ferrari
36, Martin Kirchgessner () escribió: > Hello, > > Alejandro Ferrari a écrit le 13/02/2021 à 01:33 : > > This code works perfect but we need to move from 5 min to 1 min, and > > look very dirty use: > > > > reopen_when={0m or 1m or 2m or 3m or ... or 59m},live) >

[Savonet-users] Recommend way to read logs form External Input

2021-02-23 Thread Alejandro Ferrari
Hi all! I need your help to guide me in the right direction I have this code: rxfm = "rx_fm -f #{public_dial} -d serial=#{device_id} -M fm -s 25 -w 50 -o 1 -g 0 -E deemp -E adc -E agc -" live = input.external.rawaudio(restart_on_error=true,restart=true,channels=1 ,samplerate=25,buffer

Re: [Savonet-users] Recommend way to read logs form External Input

2021-02-24 Thread Alejandro Ferrari
make it easier for > us to track your issue. > > Thanks! > Romain > > Le mar. 23 févr. 2021 à 18:51, Alejandro Ferrari > a écrit : > >> Hi all! >> >> I need your help to guide me in the right direction >> >> I have this code: >> rxfm = &

[Savonet-users] Moving Pipes to TMPFS?

2021-03-23 Thread Alejandro Ferrari
Hi all! I'm running this code, into a RaspberryPI rxfm = "rx_fm -f #{public_dial} -d serial=#{device_id} -M fm -s 25 -w 50 -o 1 -g 0 -E deemp -E adc -E agc -" live = input.external.rawaudio(restart_on_error=true,restart=true,channels=1 ,samplerate=25,buffer=1.,max=5.,rxfm) live = mks

[Savonet-users] Error moving from 1.4.4 to 2.0

2021-11-07 Thread Alejandro Ferrari
Hi! I'm trying to move to 2.0 version and got this error, I don't see any change documented on that part > > $ liquidsoap streambox.liq > At streambox.liq, line 60 char 2 - line 69 char 19: > Error 5: this value has type > [unit] > but it should be a subtype of > [source(_)] Code: Line 60 e

[Savonet-users] Liquidsoap 2 Getenv alternative?

2022-02-13 Thread Alejandro Ferrari
Hi! I'm trying to move from 1.4.X to 2, and I can't see how to capture Environment Variables into version 2? # Streaming icecast_host = getenv("ICECAST_HOST") icecast_port = getenv("ICECAST_PORT") icecast_pwd = getenv("ICECAST_PWD") icecast_desc = getenv("PUBLIC_DESCRIPTION") Any examples will

Re: [Savonet-users] Liquidsoap 2 Getenv alternative?

2022-02-14 Thread Alejandro Ferrari
. Thanks Alejandro El lun, 14 feb 2022 a las 7:01, Gilles Pietri () escribió: > Le 13/02/2022 à 23:37, Alejandro Ferrari a écrit : > > Hi! > > > > I'm trying to move from 1.4.X to 2, and I can't see how to capture > > Environment Variables into version 2?