smart-playlist

Creating a Smart Playlist via .NET code

I'm looking to synchronize media libraries from other programs to Windows Media Player via .NET (specifically C#) code. The other programs allow for Smart Playlists and I would like to preserve that in Windows Media Player (WMP) now that it is capable of it as well. From what I can tell it's only possible to create the Smart Playlist t...

Random playlist algorithm

I need to create a list of numbers from a range (for example from x to y) in a random order so that every order has an equal chance. I need this for a music player I write in C#, to create play lists in a random order. Any ideas? Thanks. EDIT: I'm not interested in changing the original list, just pick up random indexes from a range ...