]> git.parisson.com Git - deefuzzer.git/commitdiff
tab to space (for indent issues)
authorachbed <github@achbed.org>
Wed, 19 Nov 2014 17:03:04 +0000 (11:03 -0600)
committerachbed <github@achbed.org>
Wed, 19 Nov 2014 17:03:04 +0000 (11:03 -0600)
Signed-off-by: achbed <github@achbed.org>
deefuzzer/station.py
example/deefuzzer.json
example/deefuzzer.xml
example/deefuzzer_doc.xml

index 1b04c8bd8d437c0ca9af2dd34537cbdd811fa03d..abc10a0e60814e0f7aa6f13dc468c1cf859b3c96 100644 (file)
@@ -72,7 +72,7 @@ class Station(Thread):
     record_mode = 0
     run_mode = 1
     station_dir = None
-       appendtype = 1
+    appendtype = 1
 
     def __init__(self, station, q, logger, m3u):
         Thread.__init__(self)
@@ -120,8 +120,8 @@ class Station(Thread):
         elif 'icecast' in self.type:
             self.channel = shout.Shout()
             self.channel.mount = '/' + self.mountpoint
-                       if self.appendtype:
-                               self.channel.mount = self.channel.mount + '.' + self.media_format
+            if self.appendtype:
+                self.channel.mount = self.channel.mount + '.' + self.media_format
         else:
             sys.exit('Not a compatible server type. Choose "stream-m" or "icecast".')
 
index caca5f62789c5f51fe39f05fac937ffd0823d45c..4695b5e808c4bed305f6b0bbfa8b9f486a045c9c 100644 (file)
@@ -50,7 +50,7 @@
                 "public": 0,
                 "sourcepassword": "icecast_source_password",
                 "type": "icecast",
-                                                               "appendtype": 1
+                "appendtype": 1
             },
             "twitter": {
                 "key": "you access token key",
index 9db8985ae32a47261d22f1b41f087253199ab666..e482e72ddea0ed692d870ab75b99dedd49273447 100644 (file)
@@ -49,7 +49,7 @@
             <public>0</public>
             <sourcepassword>icecast_source_password</sourcepassword>
             <type>icecast</type>
-                                               <appendtype>1</appendtype>
+            <appendtype>1</appendtype>
         </server>
         <twitter>
             <key>your access token key</key>
index cc7190cd90d99b71c62a36387e4dec816309e409..4bc825312e956bde959fcd21c3d8ef82480a2806 100644 (file)
@@ -94,9 +94,9 @@
             <sourcepassword>icecast_source_password</sourcepassword>
             <!-- The type of the server (icecast or stream-m) -->
             <type>icecast</type>
-                                               <!-- If '1', the media format will be appended to the mount name (ie, /mount.mp3 instead of /mount).  
-                                                    '0' will leave the mount name alone.  Used only for icecast streams -->
-                                               <appendtype>1</appendtype>
+            <!-- If '1', the media format will be appended to the mount name (ie, /mount.mp3 instead of /mount).  
+                 '0' will leave the mount name alone.  Used only for icecast streams -->
+            <appendtype>1</appendtype>
         </server>
         <twitter>
             <!-- Your twitter username -->