]> git.parisson.com Git - telemeta.git/commitdiff
Temporary fixed mp3 date
authoryomguy <>
Tue, 1 May 2007 15:58:28 +0000 (15:58 +0000)
committeryomguy <>
Tue, 1 May 2007 15:58:28 +0000 (15:58 +0000)
telemeta/export/flac.py
telemeta/export/mp3.py
telemeta/export/ogg.py
telemeta/export/wav.py

index def184adacee8a13f17db83d053193dd7d05d71a..a6a56f0fb03dd97d1956b45ea8937e9cc53ea8a2 100644 (file)
@@ -87,6 +87,7 @@ class FlacExporter(ExporterCore):
                self.item_id = item_id
                self.source = source
                self.metadata = metadata
+               self.options = {}
                args = ''
                
                if not options is None:
index a671c0e7cc34e7dbfb7ff04d50afedb274a37478..0b156f0566ec059ac49004481fb5f5632bb6c8b3 100644 (file)
@@ -37,7 +37,7 @@ class Mp3Exporter(ExporterCore):
                                     'creator': 'TPE1', #lead
                                     'identifier': 'UFID', #Unique ID...
                                     'identifier': 'TALB', #album
-                                    'date': 'TYER', #year
+                                    #'date': 'TYER', #year
                                     'type': 'TCON', #genre
                                     'publisher': 'TPUB', #comment
                                     }
@@ -92,6 +92,7 @@ class Mp3Exporter(ExporterCore):
                self.item_id = item_id
                self.source = source
                self.metadata = metadata
+               self.options = {}
                args = ''
                
                if not options is None:
index 4ee5001959a0de7b8ec70170ebecdf78f32ffb10..dc14890dbd398f27a98d640bce4b688a3f798f86 100644 (file)
@@ -76,6 +76,7 @@ class OggExporter(ExporterCore):
                self.item_id = item_id
                self.source = source
                self.metadata = metadata
+               self.options = {}
                args = ''
                
                if not options is None:
@@ -95,7 +96,7 @@ class OggExporter(ExporterCore):
 
                else:
                        args = ' -Q -b '+self.bitrate_default
-
+                       
                if os.path.exists(self.source) and not iswav16(self.source):
                        self.source = self.decode()
                        
index 88e2b89a39769188c0df3cef12e44d924fccd25e..1cf061ddb092e10284658da4c05a5a8ef3e01858 100644 (file)
@@ -101,6 +101,8 @@ class WavExporter(ExporterCore):
                self.item_id = item_id
                self.source = source
                self.metadata = metadata
+               self.options = {}
+               
                if not options is None:
                        self.options = options
                try: