Skip to content

Commit b5e51e2

Browse files
mihawk90tytan652
andauthored
Covers: Fix deprecated taglib usage (#240)
Co-authored-by: tytan652 <tytan652@tytanium.xyz>
1 parent 0845a59 commit b5e51e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/cover_tag_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ bool extract_ape(TagLib::APE::Tag* tag)
6868
const TagLib::APE::ItemListMap& listMap = tag->itemListMap();
6969
if (listMap.contains("COVER ART (FRONT)")) {
7070
const TagLib::ByteVector nullStringTerminator(1, 0);
71-
TagLib::ByteVector item = listMap["COVER ART (FRONT)"].value();
71+
TagLib::ByteVector item = listMap["COVER ART (FRONT)"].binaryData();
7272
const int pos = item.find(nullStringTerminator); // Skip the filename.
7373
if (pos != -1) {
7474
const TagLib::ByteVector& pic = item.mid(pos + 1);

0 commit comments

Comments
 (0)