Windows Media Player playlist

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I want to build a minimal version of Media Player in C#.  Im experimenting on using Windows Media Player control and it works great in opening and playing music and video files.  My next step is to be able to create a playlist.  How do I go about in doing this in C#?  I was able to create a playlist file using the following code, but I dont know how to add songs in the playlist.  How do I do that? <font color="#0000ff" size=2>
string</font><font size=2> playListName = </font><font color="#800000" size=2>"MySamplePl"</font><font size=2>;</font><font size=2>
windowsMediaPlayer.playlistCollection.newPlaylist(playListName); </font>

View the full article
 
Back
Top