You know the path of the file which is playing ? If yes, you can directly read few starting bytes of that file in memory and would parse those to get desired information. You need to parse the bytes based on the audio format that file is playing with.
Here is the problem, I don't know what is playing and so I also don't know the path of the file's playing. Are there any methods to get te current playing track from the media player if I don't know which it is?