?
Solved

Winamp/WMP integration

Posted on 2004-11-19
8
Medium Priority
?
387 Views
Last Modified: 2010-08-05
Hi,

is there anyway i can get the title of a song playing in winamp or wmp10 using vb.net ?
0
Comment
Question by:shenlong_wc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 500 total points
ID: 12623002
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12623023
For WMP, easer way is to embed it into your application, then you can easily control it
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun06272003.asp
0
 
LVL 6

Expert Comment

by:The_Biochemist
ID: 12623375
If you download the Windows media SDK there are nice easy classes to help you avoid having to use the embedded player and you also have a VERY comprehensive set of instructions for EVERY aspect of windows media player - PS the encoder is really good too.
 See link for more info

http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:shenlong_wc
ID: 12650731
hi biochemist,
seems like to write a plugin for wmp10 to draw out the title i need c++ , but i'm working with vb.net

hi armoghan,
the wmp link issn't exactly what i had in mind ... i need the files to be playing in the 'original' wmp10, not create a seperate player, but the winamp link was exactly what i needed

Thanks !

0
 
LVL 18

Expert Comment

by:armoghan
ID: 12651965
Ok the simplest way to get the title of the Song from Winamp is

Dim prc As Process() = Process.GetProcessesByName("winamp")
        For DOS_hwnd = 0 To prc.Length - 1
            Console.WriteLine(prc(DOS_hwnd).MainWindowTitle())
        Next

After wards you can substring to "- Winamp"
0
 

Author Comment

by:shenlong_wc
ID: 12651989
Oh i already found winamp's from the link you gave.
that was really helpful .
Is there anyway i can get it from wmp just as easily ?

if not i'll just accept your first reply.

Thanks !
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12652229
Could not find any easy way of getting the Title.
One way is you can make a plug-in for WMP and then interact with it.

Also see this . It may make some sense to you as I could not understand if it can be helpful in finding the title or not
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun06272003.asp
0
 

Author Comment

by:shenlong_wc
ID: 12652856
yeah i read that somewhere too but the problem in that the plugins are in c++ , and i've already returned all my c++ stuff to my teacher ... lol

that link is the same one as the second link, isn't it ? it's problem was that it required an embedded player, but i wanted to play my mp3 from the original wmp10 (no point rebuilding the whole wmp i think )

but anyway, thanks for your help.
accepted your first ans

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question