I am trying to make a music player in C# using WMPLib. Here is what I have:
WMPLib.WindowsMediaPlayer song = new WMPLib.WindowsMediaPlayer();
song.URL = file; //the path to a mp3 file
song.controls.stop();
Console.WriteLine(song.currentMedia.getItemInfo("Title"));
Console.WriteLine(song.currentMedia.getItemInfo("Artist"));
Console.WriteLine(song.currentMedia.getItemInfo("Album"));
Only 'song.currentMedia.getItemInfo("Title")' works (it returns the title). What am I doing wrong with Artist and Album that they return ""(nothing)?