Server=localhost
Port=8000
ServerPassword=source2parisson
-ServerMountpoint=/My_best_funky_station_-_AE_-_Adm_Correction.ogg
+ServerMountpoint=/My_best_funky_station_-_AE_-_Penal_Cours.ogg
ServerPublic=0
AutomaticReconnectSecs=10
Encode=OggVorbis
ExternalFile=/home/pre-barreau/augustins/audio/
#YP Settings
ServerStreamURL=http://www.pre-barreau.com
-ServerName=My_best_funky_station_-_AE_-_Adm_Correction_-_1
-ServerDescription=My_best_funky_station_-_AE_-_Adm_Correction_-_1_-_zeaf_-_zef
+ServerName=My_best_funky_station_-_AE_-_Penal_Cours_-_1
+ServerDescription=My_best_funky_station_-_AE_-_Penal_Cours_-_1_-_zad_-_azdf
ServerGenre=Teaching
#Advanced Settings
LogLevel=1
os.system('kill -9 ' + self.rip_pid[0])
time.sleep(1)
date = datetime.datetime.now().strftime("%Y")
- dirname = self.media_dir + os.sep + self.department + os.sep + \
- clean_string('_-_'.join(self.server_name))
-
+ dirname = self.media_dir + os.sep + self.department + os.sep + self.ServerName
if os.path.exists(dirname) and os.path.exists(dirname+os.sep+'incomplete'):
shutil.move(dirname+os.sep+'incomplete'+os.sep+' - .ogg',dirname+os.sep)
shutil.rmtree(dirname+os.sep+'incomplete'+os.sep)