]> git.parisson.com Git - telecaster-client.git/commitdiff
(no commit message)
authoryomguy <>
Fri, 25 Jul 2008 00:20:22 +0000 (00:20 +0000)
committeryomguy <>
Fri, 25 Jul 2008 00:20:22 +0000 (00:20 +0000)
etc/telecaster_mp3.cfg
telecaster.py

index 9aac5d7c41ef05192a5aa3cc86277735f0a8a4fd..b284a96dcc4e9866231e195a8cf82ff9ca504879 100644 (file)
@@ -1,7 +1,7 @@
 Server=localhost
 Port=8000
 ServerPassword=source2parisson
-ServerMountpoint=/Pre-Barreau_-_ICP_-_ENM_-_undefined.mp3
+ServerMountpoint=/Pre-Barreau_-_ICP_-_CRFPA_-_Droit_administratif_Cours.mp3
 ServerPublic=0
 AutomaticReconnectSecs=10
 Encode=MP3 Lame
@@ -13,8 +13,8 @@ ServerType=Icecast2
 ExternalFile=/tmp/test
 #YP Settings
 ServerStreamURL=http://www.pre-barreau.com
-ServerName=Pre-Barreau_-_ICP_-_ENM_-_undefined
-ServerDescription=Pre-Barreau_-_ICP_-_ENM_-_undefined_-_4_-_GIUSTINIANI_G._-_2e_cours
+ServerName=Pre-Barreau_-_ICP_-_CRFPA_-_Droit_administratif_Cours
+ServerDescription=Pre-Barreau_-_ICP_-_CRFPA_-_Droit_administratif_Cours_-_3_-_BOFFA_R._-_2e_cours
 ServerGenre=Teaching
 #Advanced Settings
 LogLevel=1
index 9e268ad6f318077f26f2adc9737d51b528c4242e..f43c1c2d6a24d82e453b9d31203a2b6b2616aa30 100755 (executable)
@@ -122,7 +122,8 @@ class Station(Conference):
         oddconf.close()
 
     def start_oddcast(self):
-        os.makedirs(self.raw_dir)
+        if not os.path.exists(self.raw_dir):
+            os.makedirs(self.raw_dir)
         command = 'oddcastv3 -n "'+clean_string(self.conference)[0:16]+'" -c '+self.odd_conf_file+ \
                   ' alsa_pcm:capture_1 > /dev/null &'
         os.system(command)