A Database of Music

I was wondering how to read the metadata details of my music in some programming language. From what I've found by google, everything's old. Anyway, I have a smallish library, about 6100 songs. I'd like to make a database of the Artist and Title of the songs and incorporate that in my website. I'm a DJ, and am going to make an app where people can request music from their phones or tablets (for the hell of it for now, maybe it'll be really cool and work well, who knows). But I', currently stunted because I can only get the name of the file. Any programs that can do this for me would also be appreciated. I'm trying to either get an XML or a TXT file from this. Here is what I've currently got in my text file, around 1/8th of my music is artistless - these songs are at the bottom. Thanks preemptively to anyone who helps!

Errr.... Mediainfo might have a way to do that...? I know that you can read the metadata, but not sure if you can in a batch, and how the export works. Might be a way to write a batch script for it though.

MP3's use ID3 tags for metadata if I recall. Not sure about FLAC/RAW. There's a nice tool for editing ID3 tags with python scripts, http://eyed3.nicfit.net/ . Or you can just use a premade app to do it in Windows http://www.mp3tag.de/en/.