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
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
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)