Windows Media Player Help

Is there any way of retreiving Windows Media Player's current playing track i've been looking through all of the classes, interfaces, and everything else in wmp.dll but i cant find anything.



Answer this question

Windows Media Player Help

  • Denis Brasfield

    The .URL property contains the path to the current track.
  • hytechpro

    is it possible to get the name of the song what i mean by that is the ID3 song info. i know how to do this but i dont know how to make an instance of it using new.

            WindowsMediaPlayer media = new WindowsMediaPlayer();
            IWMPMedia m = new media.currentMedia();
            string z = m.name;

     
    that's the current code that im using. the problem is that m is equal to a NullReference and it always stays that way even when i use new.


  • Belsen

    Hi,

    At Hundred Miles Software: http://home.fuse.net/honnert/hundred/ you kan download a library (UltraID3Lib) for reading and writing metadata in mp3-files.


  • Windows Media Player Help