depends : python, python-xml, shout-python, libshout3, icecast2
recommends : python-mutagen
provides : shout-python
-
\ No newline at end of file
+
+
+This last library is included in D-Fuzz but needs to be compiled.
+As explained in shout-python/INSTALL, you just have to run this command :
+
+ cd shout-python; sudo python setup.py install
+
+
\ No newline at end of file
# 1. Introduction
# ===============
-D-Fuzz is a light python program that streams media data from disks to icecast2 with some metadata. It supports MP3, OGG, SPEEX and THEORA media.
+D-Fuzz is a light python program that streams media data from disks to icecast2
+with some metadata. It supports MP3, OGG, SPEEX and THEORA media.
-It is neccessary to provide a config file which sets all needed parameters (see myfuzz.xml for example).
+It is neccessary to provide a config file which sets all needed parameters
+(see example/myfuzz.xml for example).
# 2. Installation
where $1 is the path for a XML config file
ex: d-fuzz ./myfuzz.xml
-Note that you must edit the config file with right parameter before executing...
+Note that you must edit the config file with right parameters before executing...
+Be carefull : at the moment the Thread implementation raises exceptions when
+shutting down with CTRL + C...
+You have then to kill each stream manually or make a full `pkill d-fuzz` .
# 5. Author
# =========
# ==================
This work is inspired by the great - C - Oddsock's streaming program : Ezstream.
-Since I needed to patch it in order to modify the playlist (randomize for example) and make external batch tools to create multiple channels, I decided to rewrite it from scratch in python. Some parts of this work are also taken from another Parisson's project : Telemeta (see http://svn.parisson.org/telemeta).
+Since I needed to patch it in order to modify the playlist (randomize for example)
+and make external batch tools to create multiple channels, I decided to rewrite it
+from scratch in python.
+Some parts of this work are also taken from another Parisson's project : Telemeta
+(see http://svn.parisson.org/telemeta).
# 7. Contact / Infos
# ==================
-see http://parisson.com/d-fuzz/ for more details
+see http://svn.parisson.org/d-fuzz/ or http://parisson.com for more details
+
for i in range(0,nb_stations):
station = self.conf['d-fuzz']['station'][i]
channels = int(station['infos']['channels'])
- print 'Station n°%s : %s channels' % (str(i), str(channels))
+ print 'Station n�%s : %s channels' % (str(i), str(channels))
#print station
for channel_id in range(0,channels):
#print channel_id
class Channel(Thread):
- """A channel shout thread"""
+ """A channel shouting thread"""
def __init__(self, station, channel_id):
Thread.__init__(self)
class DFuzzError:
-
+ """The D-Fuzz main error class"""
def __init__(self, message, command, subprocess):
self.message = message
self.command = str(command)