From 31f37763f32edb5a44a9b51a7c66d6e50cd8c1dd Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 1 Feb 2012 17:38:20 +0100 Subject: [PATCH] fix mount point --- deefuzzer/station.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.39.5