Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one i've been trying for hours now to make WMPLib and AxWMPLib work to be able to rip a wished song from a cd. Before all this is done the user can search in a larger music database such as youtube, local music library and USB/removeable devices. the last thing i need now is to make it able to rip songs to the library from a cd. while the search is finished the system returns a list with some base data from each source such as title, file name, artist, source url/id etc. and from those infomation i need to rip a selected song on a music CD, and also change ripping setting to make the quality to 320Kbps for instance...

so in very short terms: how can i rip a music cd from a source url or any of those datas from above only using WMPLib and AxWMPLib and change the ripping setting etc.? and if you cant do this can any one send me to something that works like i want it to?

i've already tried alot on google but cant find any thing that work, how ever i found some code that i've been looking into including, IWMPCdrom, IWMPCdromRip (simple code below)

ty for reading

- Jackie

simple rip code:

AxWindowsMediaPlayer wmp = new AxWindowsMediaPlayer();
     IWMPCdromRip cdrip;
     IWMPCdrom cd = wmp.cdromCollection.Item(0);
     cdrip = (IWMPCdromRip)cd;
     cdrip.startRip();
Posted
Comments
Sergey Alexandrovich Kryukov 18-Nov-11 13:24pm    
Why only WMPLib and AxWMPLib? There are other (.NET) libraries.
--SA
Jackie00100 18-Nov-11 16:33pm    
cos i know they have suport for rippingbut i just cant make it work and i am already using those 2 libs all over the code in my system so if i could keep my self to those 2 i would preffer that but if you know some easy to use libs let me know :)
Sergey Alexandrovich Kryukov 19-Nov-11 0:34am    
I don't remember what exactly I used but my application works. Unfortunately, I won't get to my archive to find out in near future...
--SA
Jackie00100 19-Nov-11 9:31am    
if you would find the simple code i would really appreciate it, its a semi importen part of the system :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900