0

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

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by JJCollins
0

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

- Jordan

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.