mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Ensure the taglib_plugin is compatible with Taglib2
This commit is contained in:
parent
b8583c8d9c
commit
bec721f38a
@ -320,7 +320,7 @@ bool TaglibMetadataReader::ReadGeneric(
|
||||
if (!handled) {
|
||||
const auto mp4File = dynamic_cast<TagLib::MP4::File*>(file.file());
|
||||
if (mp4File && mp4File->hasMP4Tag()) {
|
||||
auto mp4TagMap = static_cast<TagLib::MP4::Tag*>(tag)->itemListMap();
|
||||
auto mp4TagMap = static_cast<TagLib::MP4::Tag*>(tag)->itemMap();
|
||||
this->ExtractValueForKey(mp4TagMap, "aART", "album_artist", target);
|
||||
this->ExtractValueForKey(mp4TagMap, "disk", "disc", target);
|
||||
this->ExtractReplayGain(mp4TagMap, target);
|
||||
|
Loading…
Reference in New Issue
Block a user