mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-20 14:44:05 +00:00
Read only the first date from ID3v2.3 tags. (#2460)
This commit is contained in:
1
NEWS.txt
1
NEWS.txt
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user