Merge lp:~jamesh/mediascanner2/m4a-coverart into lp:mediascanner2
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michi Henning | ||||
Approved revision: | 311 | ||||
Merged at revision: | 311 | ||||
Proposed branch: | lp:~jamesh/mediascanner2/m4a-coverart | ||||
Merge into: | lp:mediascanner2 | ||||
Diff against target: |
135 lines (+60/-12) 2 files modified
src/daemon/MetadataExtractor.cc (+12/-1) test/test_metadataextractor.cc (+48/-11) |
||||
To merge this branch: | bzr merge lp:~jamesh/mediascanner2/m4a-coverart | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Mediascanner Team | Pending | ||
Review via email: mp+273673@code.launchpad.net |
Commit message
Fix the metadata extractor so that it correctly extracts the date and presence of cover art from MPEG 4 audio files.
Description of the change
Add a test for metadata extraction of MPEG 4 audio files. This showed a few problems in the extraction support for this file format:
1. presence of cover art was not being detected correctly (it is exposed as a preview image rather than an image, as detailed in bug 1492407).
2. the release date was not being extracted correctly (it is also exposed as a different tag by the GStreamer element).
This branch fixes both of those issues.
I also altered the supports_decoder() test helper so that it can distinguish between the different MPEG audio types (MP3 and M4A).
Looks good to me. On line 76 and 79 of the diff, that appears to be left-behind debug trace?