Fix #1037: More resilient tag parsing with empty release date or album artist

This commit is contained in:
Eliot Berriot 2020-03-09 17:21:15 +01:00
commit 66a9a62376
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
3 changed files with 6 additions and 2 deletions

View file

@ -247,6 +247,7 @@ def test_can_get_metadata_from_flac_file_not_crash_if_empty():
("2017-14-01 01:32", datetime.date(2017, 1, 14)), # deezer format
("2017-02", datetime.date(2017, 1, 1)), # weird format that exists
("0000", None),
("", None),
("nonsense", None),
],
)