Page 1 of 1

Get artwork from attachments

Posted: 12 Jun 2014 15:37
by bilb68
Hi,

I started to use taglib library to get metadata and artwork image from some music files. I need now to use libvlc for streaming purpose and I have seen that libvlc uses taglib too.

I would like to remove all my taglib code so.

I can get the artwork url with :
char* artwork_c = libvlc_media_get_meta(media, libvlc_meta_ArtworkURL);

In some if the image is embedded in the music file I will get something like "attachments://cover". But how can I retrieve it then ? I mean how can I get data of the cover image embedded in the music file?

Thanks for your help

Re: Get artwork from attachments

Posted: 12 Jun 2014 17:13
by RĂ©mi Denis-Courmont
You cannot retrieve them with the current interfaces, I believe.

Re: Get artwork from attachments

Posted: 12 Jun 2014 17:18
by bilb68
How does the vlc app do it then ?