OP25 OP25 - LiquidSoap and Raspberry 3

Status
Not open for further replies.

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Location
Culpeper, VA
Nope. It is like the eat_blank doesn't like fallible sources. Here is the bit of code I have (I tried to simplify).

input2 = mksafe(input)
input2 = eat_blank(max_blank=0.5,threshold=-20.0, mean(input2))
file_name = '/home/pi/archive/culpeper-%Y-%m-%d_%H.mp3'
output.file(%mp3(bitrate=16, samplerate=22050, stereo=false), file_name, input2)

The failure is: Invalid value at line 73, char 19-63: That source is fallible.
Line 73 is the line of the "eat_blank" function.

I think what I have makes sense.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Nope. It is like the eat_blank doesn't like fallible sources. Here is the bit of code I have (I tried to simplify).

input2 = mksafe(input)
input2 = eat_blank(max_blank=0.5,threshold=-20.0, mean(input2))
file_name = '/home/pi/archive/culpeper-%Y-%m-%d_%H.mp3'
output.file(%mp3(bitrate=16, samplerate=22050, stereo=false), file_name, input2)

The failure is: Invalid value at line 73, char 19-63: That source is fallible.
Line 73 is the line of the "eat_blank" function.

I think what I have makes sense.
Weird. mk_safe() turns failable into infailable
Sorry, haven't had time to experiment with it myself... been too darned busy at work.
 
Status
Not open for further replies.
Top