Hi,
Artist’s name, album and title of song are automatically checked in the internet and shown when I start Windows Media player (or audiograbber) by inserting a CD of music in the Rom of my laptop. Is there any way to retrieve those data in a programmatic way in “VFP” as a result it can be fitted to my program? Is there any availability of API or something else? Do you have any suggestion?
Thank you in advance for your cooperation.
From online database retrieving help of tracking audio CD data
Hi Caroline,
I think you must use Active X in your program in retrieving the data in VFP.
Or you can try to use these codes to play all the music in the Windows Media Player library.
oWMP = CREATEOBJECT("WMPlayer.OCX")
oPlayList = oWmp.PlaylistCollection.GetAll()
oWmp.currentPlaylist = oPlayList.Item(0) && Zero based array
From online database retrieving help of tracking audio CD data
It is possible, though in the end it might turn out to be more work than just simply typing in the data manually. The main problem is in the scope of the operation – you would probably need to use Javascript through the browser and both of those come with their own restrictions. Grabbing a lot of values can be done by using experimental module "grab" for underscore (both of those are available by clicking on respective underlined words) and then try accessing allmusic.com.