From: yomguy Date: Wed, 1 Feb 2012 16:38:20 +0000 (+0100) Subject: fix mount point X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=31f37763f32edb5a44a9b51a7c66d6e50cd8c1dd;p=deefuzzer.git fix mount point --- diff --git a/deefuzzer/station.py b/deefuzzer/station.py index e6d541a..182f697 100644 --- a/deefuzzer/station.py +++ b/deefuzzer/station.py @@ -80,9 +80,12 @@ class Station(Thread): if 'type' in self.station['server']: self.type = self.station['server']['type'] # 'icecast' | 'stream-m' + + if self.type == 'stream-m': self.mount = '/publish/' + self.short_name + elif self.type == 'icecast': + self.mount = '/' + self.short_name else: - self.type = 'icecast' self.mount = '/' + self.short_name if 'stream-m' in self.type: