Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows media player Forms mp3 , +
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 18-Nov-11 8:13am
Comments
SAKryukov at 18-Nov-11 13:24pm
   
Why only WMPLib and AxWMPLib? There are other (.NET) libraries.
--SA
Jackssen at 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 :)
SAKryukov at 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
Jackssen at 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)

  Print Answers RSS
0 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,327
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,920


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 18 Nov 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100