Wednesday, April 13, 2011

Windows 7 WMP 12 database with network media

Windows Media Player (WMP) 12 on Windows 7 is supposed to build a database from the files it finds at locations specified in the Music "Library".  If the music library has an entry which points to a network location, then WMP 12 fails to add the items in that location to the library.  You can work around this creating a local link to the the network location and then adding the local link to the library.

Add a non-indexed UNC as a library
===========================
1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in an elevated command prompt to make a symbolic link. Name the link the same as the folder you created above.
i.e - mklink /d c:\share\music
\\server\music
5. Done. Now you have non-indexed UNC path as a library.