Reload config file for Icecast radio streaming server without dropping listeners

How to reload the /etc/icecast2/icecast.xml configuration file for Icecast radio streaming server without dropping your listeners, DJs, or affecting your stream.

Type:

or, find the PID for your Icecast process¬†using “ps aux” (example: 1234) and type:

 

While kill and killall do normally terminate tasks, in this instance they’re being used to send a “hangup signal” (-HUP) which forces Icecast to refesh the configuration file (usually /etc/icecast2/icecast.xml) without dropping any of the client connections. Pretty hard to understate the usefulness of this, especially on a production server.

How to display ‘Now Playing’ ticker from an Icecast server on website

Step by step guides for displaying a “Now Playing” / “Currently Playing” ticker on your website (WordPress or otherwise) from an Icecast streaming server using PHP, JavaScript & HTML/CSS

Continue reading “How to display ‘Now Playing’ ticker from an Icecast server on website”

Batch re-encode MP3s and fix ID3 tags using ‘lame’ and ‘id3cp’ in Ubuntu 12 script.

How to process a folder of mp3s, re-encode mp3s files to bitrates/specifications, copy id3v1/id3v2 tags, etc. using ‘lame’ and ‘id3cp’ in a script on Ubuntu 12.04.

Coming soon.