IWMPPlaylistArray
(1)
IWMPPlaylist
(1)
VB.NET
(1)
PlList
(1)
Vistas
(1)
Moms
(1)
Tags
(1)
Attributes
(1)

accessing media player library in vb.net to get list of photo's wi

Asked By Rodling83643
18-Nov-09 07:54 PM
using vb.net and accessing the media player library I can not figure out how
to access a list of photos with a perticular keyword like MP does in keyword
list.  The data I am after is already in the media player Library and I am
tring to find the VB.NET commands to access it. Media player keeps a list of
pictures that match a perticular keyword in its library. In media player
select picture-Libray-Keyword to see the list of boat pitures or Moms
pictures... Using Vb.net media player object access coding I am trying to
gain access to this list just like it lets me access playlist and pictures.
Playlist code is below as an example of the type of access I am using. This
was just test code to prove the access work to look at objects in the debuger.



Private



Sub play_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles play.Click




Dim MyList As IWMPPlaylistArray




Dim PlList As IWMPPlaylist

Player.currentPlaylist = Player.mediaCollection.getByName(



MyList = Player.playlistCollection.getAll




For x = 0 To 25

PlList = MyList.Item(x)




Next x




End Sub

The photo-specific metadata attributes available are :http://msdn.microsoft.

Neil Smith [MVP Digital Media] replied to Rodling83643
29-Nov-09 08:37 AM
The photo-specific metadata attributes available are :
http://msdn.microsoft.com/en-us/library/dd563997.aspx

In the overall list there is no specific Keywords attribute though.

There is a Tags feature, which is part of Vistas version of windows
explorer, not of media player :

http://windows.microsoft.com/en-US/windows-vista/Tag-pictures-so-theyre-easier-to-find
http://windowsitpro.com/article/articleid/95691/what-tags-can-i-use-to-search-in-windows-explorer.html

HTH
Cheers - Neil


------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs
Post Question To EggHeadCafe