The software Amazstream is an Amarok script suitable for streaming Amarok song to an icecast2 streaming server. It is a small program that facilitates this functionality.
The way amazstream operates is via ezstream as a streaming source application, which has a feature that allows it to read its playlist by using a "program." That program only outputs the name of the current file, and ezstream reacts to different signals like SIGUSR1 to reread its playlist. On the other side, Amarok provides scripting possibilities, which makes it possible to create a dynamic playlist.
To use amazstream, a few steps need to be taken first. Create a directory and text file by typing the command mkdir ~/ezstream and touch ~/ezstream/amazstream.txt. Then, create the configuration file ~/ezstream/amazstream.xml for ezstream. Make sure to update the configuration file with your IP address, homedir, and other relevant information.
After creating the required files, start Amarok and activate amazstream in your scripts. Check if ~/ezstream/amazstream.txt contains the path to the current local audio file, and if not, you might have done something wrong. Finally, start ezstream with ezstream -c ~/ezstream/amazstream.xml and point your audio devices over to the appropriate IP (as mentioned above). That's all there is to it!
Version 0.0.1: N/A