mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-21 21:35:11 +02:00
13 lines
363 B
Bash
13 lines
363 B
Bash
# Copy new version of ir config file (overwrite old)
|
|
cp --preserve=timestamp -R /usr/share/radio/hardware/ir/lircrc /etc/lirc/
|
|
|
|
# Set up loopback audio module
|
|
modprobe snd-aloop
|
|
|
|
# Install darkice for encoding said audio stream into mp3
|
|
apt-get -y install darkice
|
|
|
|
# Install python library to send metadata to icecast server
|
|
apt-get -y install python-requests
|
|
|