Closed anthony-24 closed 4 years ago
Ok, I think I have it working. I changed the following line:
processed = pipe(process='/home/wruser/radio/stereotool/stereo_tool_cmd_64 -s /home/wruser/radio/stereotool/radio.sts', s)
to
processed = pipe(process='/home/wruser/radio/stereotool/stereo_tool_cmd_64 - - -s /home/wruser/radio/stereotool/radio.sts', s)
In the log, I get the following output after each track which I assume means it is going through StereoTool, although I don't see anything in the log actually stating StereoTool by name.
2020/07/29 09:17:20 [pipe_7666:4] Closing process's stdin
2020/07/29 09:17:20 [pipe_7666:4] Process exited with code 0
2020/07/29 09:17:20 [pipe_7666:4] Starting process
2020/07/29 09:23:13 [pipe_7666:4] End of track.
Hi!
Yes, you need to process audio data from stdin going into stdout (the double -
part).
The program restarts at each track to make sure that metadata are synchronized with each new track. If you don't need that you can use the replay_delay
parameter to instead replay them after a given delay.
Do we need to keep this ticket open?
Thanks. I will close the ticket.
I am attempting to process audio in Liquidsoap using StereoTool, but the following code does not appear to be working. The connection to Icecast never works. It only does if I remove the two lines piping audio to StereoTool.
When I run Liquidsoap, the log output is as follows: