Windows Media Player Current Media File Info

a_strnage_man

New member
Joined
Jan 7, 2006
Messages
1
Programming Experience
5-10
Hi Everyone;

I want to learn the file name for the current file being played by WMP in VB.NET.

Thanks in advance...
 
I found useful info in this Coding4Fun article http://msdn.microsoft.com/coding4fun/someassemblyrequired/external_led/default.aspx

The basic steps to do it is to download+install the Blogging Plugin from Media Player Fun Pack, this plugin publishes WMP current track info to registry in HKey_Current_User\Software\Microsoft\MediaPlayer\CurrentMetadata in Title/Album/Author/durationstring values.
With .Net Registry class you can retrieve the values.

resources:
Fun Pack: http://www.microsoft.com/windowsxp/downloads/powertoys/wm_create.mspx
Blogging Plugin: http://download.microsoft.com/download/A/D/A/ADA9E33F-2EB2-412A-A378-38C22C89055D/creativity_wmpblogging.exe
 
Back
Top