amazstream 0.0.1

amazstream is a small Amarok script which enables streaming of songs in Amarok to a streaming server (icecast2).
amazstream is a small Amarok script which enables streaming of songs in Amarok to a streaming server (icecast2).

Developer comments

Several users asked for and no solution was given in the vanilla Amarok so here's a "quick & dirty" solution.

How it works

ezstream as streaming source application has the option to read its playlist by a "program" which only outputs the name of the current file. And ezstream reacts on different signals like SIGUSR1 to reread its playlist.

Amarok on the other side has due to its scripting possibility the option to create such a dynamic playlist. So let's put these parts together (before starting amazstream):

mkdir ~/ezstream
touch ~/ezstream/amazstream.txt


Create ~/ezstream/amazplay.sh (as source for ezstream [one streaming source application for icecast2]).:

#!/bin/sh
# (see man ezstream for details)
cat ~/ezstream/amazstream.txt


Create the configuration file ~/ezstream/amazstream.xml for ezstream (replace at least your IP, homedir etc.):


http://192.168.0.1:8000/live.mp3

hackme
MP3
/home/ml/ezstream/amazplay.sh
1

0


Start amarok and activate amazstream in your scripts.

Check if ~/ezstream/amazstream.txt contains one line: the location (path) of the current local audiofile. If not: Something went wrong!

Start ezstream with ezstream -c ~/ezstream/amazstream.xml.

Point your audio devices to http://192.168.0.1:8000/live.mp3 (As mentioned above: Replace the IP!)

last updated on:
May 22nd, 2008, 19:30 GMT
price:
FREE!
developed by:
Martin Lesser
homepage:
www.kde-apps.org
license type:
BSD License 
category:
ROOT \ Multimedia \ amaroK Scripts

FREE!

In a hurry? Add it to your Download Basket!

user rating 9

3.6/5
 

0/5

Rate it!

Add your review!

SUBMIT