Read only the first date from ID3v2.3 tags. (#2460)

This commit is contained in:
Lukáš Lalinský
2007-04-12 22:58:06 +02:00
parent bdc6255f7b
commit 60c26197df
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ Version 0.9.0beta1 - 2007-04-XX
* Added options to un-hide toolbars. (#2631)
* Fixed problem with saving extra performer FLAC tags
containing non-ASCII characters. (#2719)
* Read only the first date from ID3v2.3 tags. (#2460)
Version 0.9.0alpha6 - 2007-04-04
* New Features:

View File

@@ -137,7 +137,7 @@ class ID3File(File):
metadata.add('~artwork', (frame.mime, frame.data))
if 'date' in metadata:
metadata['date'] = map(sanitize_date, metadata.getall('date'))
metadata['date'] = sanitize_date(metadata.getall('date')[0])
self.metadata.update(metadata)
self._info(file)