zach-morris / plugin.program.iagl

The Internet Archive Game Launcher (IAGL) will launch Games from the Internet using Kodi
GNU General Public License v3.0
348 stars 49 forks source link

Make IAGL restore Kodi settings after an unsuccessful game launch #265

Closed po1vo closed 1 year ago

po1vo commented 1 year ago

Basically i have to re-enable the joystick every time a game fails to start.

zach-morris commented 1 year ago

There's an advanced setting that is for 'Suspending Kodi Input when Externally Launching', you can disable this. However, IAGL should automatically re-enable your input even if launching fails. Do you have a debug log I can see?

po1vo commented 1 year ago

Looks like i wasn't completely clear. I use "Suspend Kodi Input and Audio during External Launch", and my joystick gets disabled, however if a process fails to start, current_launch['launch_process'] is set to None and IAGL never gets to the re-enabling code. (I've been looking at launch_game and post_launch_check defs)

zach-morris commented 1 year ago

Damn, tabs got me. Thanks!