mpd

mpd

https://github.com/mikiair/raspi-gpio-mpdc?tab=readme-ov-file

Icecast

setup icecast2 + mpd

https://stmllr.net/blog/streaming-audio-with-mpd-and-icecast2-on-raspberry-pi/

icecast docs

https://icecast.org/docs/icecast-trunk/

Icecast ssl setup

https://www.mediarealm.com.au/articles/icecast-https-ssl-setup-lets-encrypt/

icecast running from port 80 (for ssl)

Edit two lines in /etc/default/icecast2

USERID=root  
GROUPID=root  

Edit the following lines in /etc/icecast2/icecast.xml

<listen-socket>
    <port>80</port>
<listen-socket>

in the security section:

<changeowner>
            <user>icecast2</user>
            <group>icecast</group>
        </changeowner>