]> 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>
Mon, 2 Dec 2013 23:12:41 +0000 (00:12 +0100)
deefuzzer/station.py

index 88434d9a83b6a39ef056ed3ff4e3b26a7f2e5055..32ce0cc62b8db985b48be3bd5b877ef31267747a 100644 (file)
@@ -93,6 +93,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()