Results 1 to 4 of 4

Thread: Windows Media Player 11 Library

  1. #1
    Join Date
    Dec 2005
    Posts
    102

    Windows Media Player 11 Library

    Is it possible to "read and write" the Windows Media Player 11 Library in the same way I can read an MS Access database in Visual Basic 2008? What I am trying to do is, I want to synchronize the folders in the "My Music" directory to another entries in the WMP Library but I am having more than 5000 tracks and therefore it should be very fast to programm it rather than do it slowly line by line. So can anyone tell me a way on how to do the same? Thanks for any replies.

  2. #2
    Join Date
    Oct 2005
    Posts
    2,358
    I think that the MediaCollection object provides a way to organize a large collection of media items. It can be queried to generate playlists automatically. The MediaCollection object supports the following methods given in this link - http://msdn.microsoft.com/en-us/library/dd563833.aspx . Also there is the Media object that provides a way to specify or retrieve properties of a media item, using the following properties and methods. The Media object supports the following properties which is explained in this link - http://msdn.microsoft.com/en-us/library/dd563869.aspx

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Windows Media Player 11 Library

    Can you take a look at the setItemInfo and also pay attention to the isReadOnly from this website - http://msdn.microsoft.com/en-us/library/bb262748.aspx and that will let you know how to set attributes but I think that it should rather work with the library MediaItem entries and not the FileSystem collections. You can also try to check the alphabetical attribute refrence to see which attributes are stored at what place and I dont think there is any cross refrence so you will have to search the entry for each attribute of interest from this page - http://msdn.microsoft.com/en-us/library/bb248367.aspx.

  4. #4
    Join Date
    Dec 2005
    Posts
    102
    I have finally found another way to solve this problem. There is this Dale Preston's Library Backup programs that I have used to export the WMP library in XML format. After that I have used Visual Basic to edit the same file so that the track title remains the same similar to the WMA file title and then have successfully restore the XML file to the library. Hope that it helps someone facing similar kind of issues.

Similar Threads

  1. Replies: 4
    Last Post: 31-08-2011, 11:36 AM
  2. Windows Media Player 11 Lost Library & Media sharing
    By MichaelD in forum Media Player
    Replies: 7
    Last Post: 04-11-2010, 01:04 AM
  3. Replies: 4
    Last Post: 06-04-2010, 02:48 AM
  4. Windows Media Player 12 Bug library
    By Clemens_i in forum Windows Software
    Replies: 4
    Last Post: 29-01-2010, 03:01 AM
  5. How to Update the Windows Media Player 11 library
    By chetu in forum Windows Software
    Replies: 3
    Last Post: 10-09-2009, 01:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,285,613.91354 seconds with 17 queries