You would then need to install libshout3 and liblo libraries for it. On Windows,
an install inside Gygwin should work well.
-IMPORTANT: Please first install libshout3 and liblo from source OR libshout3-dev,
-liblo-dev, gnutls-dev and librtmp-dev from your own distribution package manager.
+To install it, say on Debian, do::
+
+ sudo apt-get install python-pip liblo-dev libshout3-dev gnutls-dev librtmp-dev
Now, the easiest way to install the DeeFuzzer from a shell::
os.makedirs(self.metadata_dir)
# The station's player
- self.player = Player()
+ self.player = Player(self.type)
self.player_mode = 0
# OSCing
class Player:
"""A file streaming iterator"""
- def __init__(self):
+ def __init__(self, type='mp3'):
self.main_buffer_size = 0x100000
- self.relay_queue_size = 0x100000
- self.sub_buffer_size = 0x10000
-
+ if type == 'icecast':
+ self.relay_queue_size = 0x100000
+ self.sub_buffer_size = 0x10000
+ if type == 'stream-m':
+ self.relay_queue_size = 0x10000
+ self.sub_buffer_size = 0x20000
+
def set_media(self, media):
self.media = media