Force sound mode on LG C1 OLED webOS TVs
This script works around the annoying feature of LG webOS TVs which automatically change the sound mode to "Game optimizer" when Game optimizer is selected as the video mode.
It works around it by setting it back to a user-selected mode every 5 seconds in case it changed to something else.
To install it your TV needs to be rooted. See RootMyTV and WebOSBrew.