]> git.parisson.com Git - deefuzzer.git/commitdiff
icecast server type by default
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Sep 2013 12:03:09 +0000 (14:03 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Sep 2013 12:03:09 +0000 (14:03 +0200)
deefuzzer/station.py

index a0c19fac28531d812772aefa09098b4f0913d2d1..525ba4630577b6c0c73844015cdd0212236bf7b2 100644 (file)
@@ -86,6 +86,8 @@ class Station(Thread):
 
         if 'type' in self.station['server']:
             self.type = self.station['server']['type'] #  'icecast' | 'stream-m'
+        else:
+            self.type = 'icecast'
 
         if 'stream-m' in self.type:
             self.channel = HTTPStreamer()