Get artwork from attachments
Posted: 12 Jun 2014 15:37
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
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