CyberSpy

Rantings from a guy with way too much free time

Liquid Soap better than dirty Ice (DarkIce)

2023-11-10 audio Rob Baruch

DarkIce bugs are Enough! Time to Soap Up

So, over the years, I’ve maintained a DarkIce stream for Icecast2 audio server. Mostly, I do this for DMR radio that I want to stream from my Anytone 878 handset. The challenge is the code is not maintained and is buggy. Configuration is less than desirable as well. So after finally deciding enough was enough (one can only restart a failed daemon so many times), I bit the bullet and went on the hunt for alternatives.

LiquidSoap is a good rinse!

After some googling, I tripped over LiquidSoap. A few moments of reading, and I saw how easy it was to configure:

liquidsoap --verbose 'output.icecast(
    %mp3, host = "icecast.me",
    port = 8000,
    password = "password",
    mount = "DMR-Radio",
    description = "DMR Monitor",
    input.alsa(device="plughw:CARD=Set,DEV=0", bufferize=true))'

Throwing this into simple shell script - and you’re up!

comments powered by Disqus