Attempt to get PictureInformation during Tag -> VorbisComments conversion

This commit is contained in:
Serial 2022-04-04 20:49:09 -04:00
parent 065c70b176
commit 7ac73e40db
No known key found for this signature in database
GPG key ID: DA95198DC17C4568

View file

@ -347,7 +347,7 @@ pub(crate) fn create_vorbis_comments_ref(
let pictures = tag
.pictures
.iter()
.map(|p| (p, PictureInformation::default()));
.map(|p| (p, PictureInformation::from_picture(p).unwrap_or_default()));
(vendor, items, pictures)
}