]> git.parisson.com Git - telecaster-client.git/commitdiff
avoid TIT2 id3 tag
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 22 Jan 2023 14:49:01 +0000 (15:49 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 22 Jan 2023 14:49:01 +0000 (15:49 +0100)
telecaster/models.py

index b51ce830403f467356d74c893cc1c726775c2b96..9135ee273aa15f23d5ae864d4902a4243c3c97c8 100644 (file)
@@ -233,8 +233,8 @@ class Station(Model):
         if os.path.exists(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.decode('utf8')))
+            # #tag = tags.__dict__['TITLE']
+            audio.add(TIT2(encoding=3, text=self.new_title.decode('utf8')))
             #tag = tags.__dict__['ARTIST']
             audio.add(TP1(encoding=3, text=self.professor.decode('utf8')))
             #tag = tags.__dict__['ALBUM']