getting art with libvlc_meta_ArtworkURL

This forum is about all development around libVLC.
mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

getting art with libvlc_meta_ArtworkURL

Postby mangokm40 » 18 Jan 2019 19:31

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.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: getting art with libvlc_meta_ArtworkURL

Postby mangokm40 » 22 Jan 2019 17:27

"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.

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

Re: getting art with libvlc_meta_ArtworkURL

Postby chouquette » 23 Jan 2019 11:55

Hi,

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

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: getting art with libvlc_meta_ArtworkURL

Postby mangokm40 » 25 Jan 2019 17:26

Thanks for the link.

Yes. This is with 3.0.6 libvlc.

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

Re: getting art with libvlc_meta_ArtworkURL

Postby chouquette » 31 Jan 2019 17:06

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

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: getting art with libvlc_meta_ArtworkURL

Postby mangokm40 » 04 Feb 2019 14:49

Thanks for taking the time to respond. It's always nice (& rare) when I didn't mess up somewhere. :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests