]> git.parisson.com Git - deefuzzer.git/commitdiff
fix audio_info and then yp relays !
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 4 May 2009 11:40:57 +0000 (11:40 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 4 May 2009 11:40:57 +0000 (11:40 +0000)
deefuzzer.py

index ee5cf0376bcb94c3d029930dcb3f480a8ae48609..7f6c4315e4657b637437e728f84b71657241d33f 100755 (executable)
@@ -244,11 +244,10 @@ class Station(Thread):
         self.channel.password = self.station['server']['sourcepassword']
         self.channel.mount = '/' + self.short_name + '.' + self.channel.format
         self.channel.public = int(self.station['server']['public'])
-        self.channel.audio_info = { 'SHOUT_AI_BITRATE': self.bitrate,
-                                    'SHOUT_AI_SAMPLERATE': self.samplerate,
-                                    'SHOUT_AI_QUALITY': self.ogg_quality,
-                                    'SHOUT_AI_CHANNELS': self.voices,
-                                  }
+        self.channel.audio_info = { 'bitrate': self.bitrate,
+                                    'samplerate': self.samplerate,
+                                    'quality': self.ogg_quality,
+                                    'channels': self.voices,}
         self.set_playlist()
         self.lp = len(self.playlist)
         self.channel.open()