Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Winamp/WMP integration

Posted on 2004-11-19
8
Medium Priority
?
394 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Technology Partners: 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!

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

636 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