Page 1 of 1

getting art with libvlc_meta_ArtworkURL

Posted: 18 Jan 2019 19:31
by mangokm40
I've been using "libvlc_meta_ArtworkURL()" to display the art embedded in '.mp3' files. The function returns a "file:///" MRL.
I had not used '.flac' files until today. When I call the function for these files, it returns an MRL like "attachment://picture0.jpg".

I notice the art is still copied to: %APPDATA%/Roaming/vlc/art/artistalbum/<ArtistName>/<AlbumName>

Is there something I don't understand? Is there a reason '.flac' and '.mp3' files return different values?

Thank you.

Re: getting art with libvlc_meta_ArtworkURL

Posted: 22 Jan 2019 17:27
by mangokm40
"I notice the art is still copied to: %APPDATA%/Roaming/vlc/art/artistalbum/<ArtistName>/<AlbumName>"

Sorry! The art is only copied to %APPDATA% when I play the .flac file in VLC. I guess the code that does this is not part of libvlc.

Re: getting art with libvlc_meta_ArtworkURL

Posted: 23 Jan 2019 11:55
by chouquette
Hi,

This looks like the problem described in https://trac.videolan.org/vlc/ticket/15219
Are you using libvlc 3.0 or later?

Re: getting art with libvlc_meta_ArtworkURL

Posted: 25 Jan 2019 17:26
by mangokm40
Thanks for the link.

Yes. This is with 3.0.6 libvlc.

Re: getting art with libvlc_meta_ArtworkURL

Posted: 31 Jan 2019 17:06
by chouquette
Actually I had the same issue a few minutes ago, we will look into it for 4.0 at least, and depending on the fix, we'll backport it to 3.0

Re: getting art with libvlc_meta_ArtworkURL

Posted: 04 Feb 2019 14:49
by mangokm40
Thanks for taking the time to respond. It's always nice (& rare) when I didn't mess up somewhere. :)