#!/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