Server=localhost
Port=8000
ServerPassword=source2parisson
-ServerMountpoint=/Pre-Barreau_-_ICP_-_AE_-_Adm_Correction.mp3
+ServerMountpoint=/Pre-Barreau_-_ICP_-_FJP_-_TEST.mp3
ServerPublic=0
AutomaticReconnectSecs=10
Encode=MP3 Lame
ExternalFile=/tmp/test
#YP Settings
ServerStreamURL=http://www.pre-barreau.com
-ServerName=Pre-Barreau_-_ICP_-_AE_-_Adm_Correction
-ServerDescription=Pre-Barreau_-_ICP_-_AE_-_Adm_Correction_-_2_-_MARINHO_A._-_1er_cours
+ServerName=Pre-Barreau_-_ICP_-_FJP_-_TEST
+ServerDescription=Pre-Barreau_-_ICP_-_FJP_-_TEST_-_1_-_GIUSTINIANI_G._-_1er_cours
ServerGenre=Teaching
#Advanced Settings
LogLevel=1
def write_tags_mp3(self):
file = self.file_dir + os.sep + self.filename
if os.path.exists(file):
- os.system('mp3info -t "a" '+file)
+ os.system('mp3info -t "a" -a "a" '+file)
audio = ID3(file)
#tag = tags.__dict__['TITLE']
audio.add(TIT2(encoding=3, text=self.new_title))
#tag = tags.__dict__['ALBUM']
audio.add(TAL(encoding=3, text=self.title))
#tag = tags.__dict__['DATE']
- audio.add(TDA(encoding=3, text=self.date))
+ #audio.add(TDA(encoding=3, text=self.date))
#tag = tags.__dict__['GENRE']
audio.add(TCO(encoding=3, text=self.genre))
#tag = tags.__dict__['COMMENT']
- audio.add(COM(encoding=3, text=self.comment))
+ #audio.add(COM(encoding=3, text=self.comment))
audio.save()
+ time.sleep(2)
def start(self):
self.set_lock()