13 lines
250 B
Plaintext
13 lines
250 B
Plaintext
|
#!/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
|