ID:2401816
 
Is there a method to output a file name to a string?

My game will occasionally play music files, usually a .ogg file. I wanted to try and include an output for when it happens.

Is there a way to pull the filename for the output?

"Now Playing: John Denver - Take Me Home Country Roads.ogg"


Or better yet, is there a way to access the metadata on a music file? title, album artist, etc?
var/sound/S = sound(file)
src << "Playing [S]"


That should do it, but I don't have the ability to test it out right this second but I will when I'm able if it happens to not work.