Read current game title in Python?
-
Hi all,
I have been making a case and have a small OLED attached (I2C style). At the moment I have it showing basic stats (CPU usage etc). What I'd like to do is show the title of the game/app running. Is there an easy way to find that information? I did find a post and GitHub which had something but it didnt work for me, it seemed to be pulling the info from a log file?
Reasonable beginner with Python!
-
Use the scripting support in EmulationStation and call a script when a game is started, you'll get the game name as one of the parametes and you don't need to parse anything - see more details here.
-
@mitu Got it all working, took a little time to figure out it was calling bash scripts lol got it going now :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.