13 lines
250 B
Bash
Executable File
13 lines
250 B
Bash
Executable File
#!/bin/sh
|
|
# script to inject any text into icy_metadata of icecast
|
|
# using telnet and liquidsoap.
|
|
IFS=$"\n"
|
|
|
|
while read -r line;
|
|
do
|
|
echo "$line"
|
|
(sleep 2; echo "metadata.update song=$line";echo quit) | \
|
|
nc localhost 1234;
|
|
sleep 30;
|
|
done
|