Welcome to MSDN Blogs Sign in | Join | Help

WPF based Music CD Ripper

One of the WPF based projects I am working on right now needs some functionality to enable ripping music CD's a la Windows Media Player. I was digging into the various Windows Media SDK's as well as the Media Foundation stuff in Windows Vista to find the best way to achieve this - and it turns out the easiest is to rely on Windows Media Player itself. WMP exposes all of this via COM - so all you need to do is add a reference to the appropriate typelib, and off you go. Probably not the best solution, because of the WMP dependency, but it works nicely. I built a quick WPF prototype, and thought some of you might benefit from the code. I am attaching the Visual Studio project (zipped)- feel free to play with it.

 

Note that you will need Visual Studio 2008 and WMP 11 on your machine. There is also a way to use WMP 10 for this, but the user experience is not as nice. Also note that there are ways to rip music CD's with no dependency on WMP, but the solution will be significantly more complicated. Also be aware that depending on your settings, as soon as you pop a music CD, WMP might come up itself and start ripping. Make sure to close WMP before you try this app out.

 

Below is a screenshot. Zipped source code attached.

Enjoy!!!

CDRipper

Published Wednesday, January 02, 2008 8:13 PM by jitghosh
Attachment(s): CDRipper.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Wednesday, January 02, 2008 8:41 PM by Music News » WPF based Music CD Ripper

# Music News » WPF based Music CD Ripper

Wednesday, January 02, 2008 10:57 PM by Kris

# re: WPF based Music CD Ripper

Awesome! Thanks for sharing.

Thursday, January 03, 2008 12:48 AM by Christopher Steen

# Link Listing - January 2, 2008

Link Listing - January 2, 2008

Thursday, January 03, 2008 12:48 AM by Christopher Steen

# Link Listing - January 2, 2008

ASP.NET Weird DataGrid Paging Error with Last Page Selection [Via: Rick Strahl ] Sharepoint Building...

Sunday, January 06, 2008 1:40 PM by Media Mechanics

# Make your own music CD ripper with WPF and WMP 11.

My colleague Jit Ghosh just posted some samples of a project he is working on . It's a nice overview

Sunday, January 06, 2008 2:23 PM by Noticias externas

# Make your own music CD ripper with WPF and WMP 11.

My colleague Jit Ghosh just posted some samples of a project he is working on . It's a nice overview

Tuesday, March 18, 2008 10:20 AM by VO 01

# ViewOn.tv : WPF based Media Player

Hi,

There is ViewOn.tv, a full Media Player based on WPF.

http://www.viewon.tv

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker