Merge branch '220-fix-mp3-track-numbers' into 'develop'

Resolve "Track numbers from mp3 don't get imported"

Closes #220

See merge request funkwhale/funkwhale!214
This commit is contained in:
Eliot Berriot 2018-05-26 11:40:25 +00:00
commit d2c99b9f5d
4 changed files with 4 additions and 3 deletions

Binary file not shown.

View file

@ -43,10 +43,10 @@ def test_can_get_metadata_from_ogg_theora_file(field, value):
@pytest.mark.parametrize('field,value', [
('title', 'Bend'),
('artist', 'Binärpilot'),
('artist', 'Bindrpilot'),
('album', 'You Can\'t Stop Da Funk'),
('date', datetime.date(2006, 2, 7)),
('track_number', 1),
('track_number', 2),
('musicbrainz_albumid', uuid.UUID('ce40cdb1-a562-4fd8-a269-9269f98d4124')),
('musicbrainz_recordingid', uuid.UUID('f269d497-1cc0-4ae4-a0c4-157ec7d73fcb')),
('musicbrainz_artistid', uuid.UUID('9c6bddde-6228-4d9f-ad0d-03f6fcb19e13')),