I'm writing a small application to retrieve a playlist from Windows Media Player and I'd like to display the associated album art.

I can't find any reference to where the album art is stored in relation to the album currently in the playlist.

The code I'm using is fairly simple and I've used the getAll method to give me all of the items in the library. I then use a couple of combo boxes to show the artist and album. Once the album has been chosen I then build a playlist for that album using the getByAlbum method.

Dim myWMP As WMPLib.IWMPCore
Dim myMediaCollection As WMPLib.IWMPMediaCollection
Dim myTrack As WMPLib.IWMPMedia
Dim allTracks As WMPLib.IWMPPlaylist

myWMP = New WMPLib.WindowsMediaPlayer
myMediaCollection = myWMP.mediaCollection
allTracks = myMediaCollection.getAll

(code to iterate through alltracks to populate the 2 combo boex for artist and album

Dim pl As WMPLib.IWMPPlaylist
pl = myWMP.mediaCollection.getByAlbum(cboAlbum.Text.ToString)

I can display details of the tracks using pl.items(n).Duration etc but I'd like to get some info about the album itself.

Can anyone help please?

Thanks

Richard

well the album art is normally stored in the folder with the album, sometimes the files are hidden.

- Jordan

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.