Implement recursive metadata for FLAC files
Since FLAC files can contain covers, it makes sense to parse their metadata
This commit is contained in:
parent
b2e153b69c
commit
b9dbd12ef9
3 changed files with 27 additions and 17 deletions
|
@ -96,7 +96,7 @@ class TestGetMeta(unittest.TestCase):
|
|||
p = audio.FLACParser('./tests/data/dirty.flac')
|
||||
meta = p.get_meta()
|
||||
self.assertEqual(meta['title'], 'I am so')
|
||||
self.assertEqual(meta['Picture'], 'Cover')
|
||||
self.assertEqual(meta['Cover 0'], {'Comment': 'Created with GIMP'})
|
||||
|
||||
def test_docx(self):
|
||||
p = office.MSOfficeParser('./tests/data/dirty.docx')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue