Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Record an mp3 stream into 2 hour blocks
#/bin/sh
while true; do \
wget -q -O - http://livehq.umfm.com/ | \
cronolog -H /home/mark/archives/current.mp3 \
-p "2 hours" '/home/mark/archives/%Y-%m-%d/%s.mp3'
sleep 1s
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment