@
chrisism and guys,
in case it can be of some help, i can bring some feedback on my script to parse xml gamelist and AKL in general.
I stumbled upon a couple of cases where my script would struggle.
I guess this was mainly when in the name or in the path of the games there were special characters like *./|\ etc...
I tried to fight this but in the end i changed strategy and followed what one of the guys on the original SO thread said:
Quote:"Just because you can write your own parser, doesn't mean you should. – Stephen Niedzielski"
So I installed xmlstarlet and rewrote my script so that it uses xmlstartlet instead of trying to read the xml gamelist with IFS and read.
I tested it with atari2600, atari 5200, megadrive, gameboy (original + color + advance), nes, snes, nintendo 64, mame and fba and it works.
Generating nfo files became much slower but it works definitvely better, if anyone want to take a look you can find it
here
thanks a lot to @
chrisism , the addon works very well.
I have an issue only with c64, for some reason it cannot scan existing roms. (d64 files)
I says critical error and it stops, it is quite peculiar since it seems to me that i have done exactly the same that I have done for the other roms...
I also noticed that on my raspberrypi the scraping of my local nfo files failed for some platforms.
I could not find any special difference with the other platforms where it worked, apart from being the platforms with the highest quantity of roms (mame, nes etc)
So i proceeded to split the roms in 2 (in order to have approx. max. 2000 roms per folder) and after that the scraping worked fine.
I am not sure if this is a limitation of the raspberrypi or of the addon, anyhow i thought it might have helped to highlight it.
thanks a lot
M