@Aloshi: I've never done anything in SDL to be honest, but I'll try to do it later and see what happens. Also, and this is just me, but I think using gamelists per platform would be more flexible (I haven't look at your code yet so I dunno how much rewrite is needed). Sounds kinda redundant at first, but you could set an aspect ratio for boxarts there instead of hardcoding it (maybe some other parameters) and it would be easier for the scraper too.
Again, just an idea.
Gamelists per platform would be pretty easy to implement. Would the system index or system name be easier for your scraper to identify by?
Also ToadKing, would you like me to start a separate thread for EmulationStation?
It's more about mantaining and customizing each individual list properly than identifying it.
So far, it works like this. You call the script and pass the ROM directory as a parameter. The scraper prints the platform list from the DB and asks the user to enter the corresponding ID. Right now the API only allows search by ID instead of name so that is a step we can't skip. I doubt the list is gonna change anytime soon so you could just add it manually as an extra parameter in the systems config file and include the list in the file comments for reference.
Then asks the ROM file extension, gets the proper data and (currently) saves the xml file in the ES folder.
I could remove both prompts (the ROM folder and the file extension) by simply reading the systems config file (which I haven't coded yet but shouldnt take too long) and export the gamelist.xml to each individual ROM folder but we're gonna have to supply the platform ID one way or another.
Defining the platform beforehand and properly naming the file (there are tools for that) usually returns pretty good results.
And yeah, at this point, a different thread for ES would be more appropiate, so we don't clutter up his thread.