[TagLibExtractor] Use the correct mimetype in case of inheritance
ClosedPublic

Authored by bruns on Mar 31 2019, 2:15 AM.

Details

Summary

The passed in mimetype may not match one of the explicitly supported
types, but is supported by one of the parent types, e.g. audio/ogg.

Use the new helper to fetch the correct parent mime type.

Test Plan

ctest

Diff Detail

Repository
R286 KFileMetaData
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Mar 31 2019, 2:15 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMar 31 2019, 2:15 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Mar 31 2019, 2:15 AM
ngraham accepted this revision.Mar 31 2019, 2:27 AM
This revision is now accepted and ready to land.Mar 31 2019, 2:27 AM
This revision was automatically updated to reflect the committed changes.