473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How can I get the file name currently playing in Windows Media Player?

I'm writing a small program in C# that will sit in the system tray and
"monitor" Windows Media Player. I want the program to grab the file
name (and checksum) of whatever video a user is playing in Media
Player. I've looked at the WMP SDK, but haven't really found something
that can be used (i could just be missing this of course). Any help is
greatly appreciated.

Thanks!

May 15 '07 #1
2 2038
On May 15, 4:08 am, Garrett <gyss...@gmail.comwrote:
I'm writing a small program in C# that will sit in the system tray and
"monitor" Windows Media Player. I want the program to grab the file
name (and checksum) of whatever video a user is playing in Media
Player. I've looked at the WMP SDK, but haven't really found something
that can be used (i could just be missing this of course). Any help is
greatly appreciated.

Thanks!
I don't know where it can be gotten from, but I do know it is
possible, as Live Messenger has a feature where others on you contact
list can see what you are currently playing with the Media Player.

May 15 '07 #2
Yeah, it's definitely possible. Other programs, like many IRC programs/
scripts are able to get this information. I'm sure there must be some
way to go about it.

May 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Schmitz | last post by:
Hi, I'm just trying to play a *.wav file, making use of the unmanaged function "sndPlaySoundA" in winmm.dll, but I still got one question: How can I avoid, that the sound file itself has to be...
1
by: Lyndon | last post by:
Hi guys, I've got a problem... I'm developing a webpage on my computer and I can't get the links to my MPEG movies to work. I want them to launch in a Windows Media Player. This is my...
0
by: harsha | last post by:
hi, I working on building media player with C#.I am having trouble accomplishing one module.I want the dvd to start playing in the windows media player upon a single button click by the user.I...
5
by: Tom W | last post by:
Ok, hi evryon now I swear I put this post up yesterday but I cant find it anywhere so ill put it up again So I'm making a program to play music but the code ive got for the open dialog thing isn't...
0
by: WinDev | last post by:
I have a video file that used the DivX codec and it runs fine when I double click on it - Windows Media Player comes up and it plays fine. But when I put a Windows Media Player control on my...
3
by: shil | last post by:
Users can view mpeg movies from my website. When users who don't have DSL, it takes longer time to launch windows media player and play the movie. There is no indication to the users that file...
1
by: sri2097 | last post by:
Basically, I want to check if a URL is playable or not (without actually playing it). i.e. given a URL I want to write an automation script to figure it out for me if it's playable or not. If...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
6
by: Johnny J. | last post by:
Can anybody get me started on how to play an FLV file? Like you play e.g. mpeg files using the wmplayer control, I want a box on my form where the FLV is played and the playback is controlled byt...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.