Hi Rev138,
Thanks for sharing the script. I tried running it for my mame collection and i get the following error:
File does not exist: at ./es_scraper.pl line 62.
Is there a log file thats generated? Any suggestions?
*Update –
originally i executed the script via via this command:
./es_scraper.pl –in-file .emulationstation/gamelists/mame/gamelist.xml –out-file .emulationstation/gamelists/mame/gamelist.xml –downloads .emulationstation/downloaded_images/nes “RetroPie/roms/mame/*”
after looking at your code it looks like I need to point to the roms directory, so I edited it to look like this
./es_scraper.pl /home/pi/RetroPie/roms/mame/ –in-file .emulationstation/gamelists/mame/gamelist.xml –out-file .emulationstation/gamelists/mame/gamelist.xml –downloads .emulationstation/downloaded_images/nes “RetroPie/roms/mame/*”
When doing this i get error:
Reading from filehandle failed at ./es_scraper.pl line 162
Thanks