Homepage Forums RetroPie Project Everything else related to the RetroPie Project Script to Monitor Running Emulator and ROM for other scripts Reply To: Script to Monitor Running Emulator and ROM for other scripts

#100980
sselph
Participant

That is what I was thinking it might be useful for. It doesn’t do any of the LCD stuff so you’ll have to write that portion yourself but it could call that script to tell it when you start and stop playing a game and what game and system it was. It is also a Go library but figured it might be easier to do this so people could write Python, bash, etc and this could communicate with them.

The arguments that are passed to the script are currently fixed but I can change it if someone decides they want to use it. I can make it more flexible or dump a blob of json. If you use the -web flag and open the page while a game is running you can see what information I am pulling out. It includes everything in the gamelist.xml about the game as well as information about the system.