Does the player start directly with an brightness?
It gives 2 Brightness options
You can add brightness = x in the config.ini so, the player has directly an brightness and you have an "blue tint".
Hint: it gives 2 config.ini files 1 in the app and 1 in the user directory (localAppDir). Make sure that these 2 config.ini has no brightness setting or 100 by default.
If you set the brightness with the lua command:
setWindowBrightness(value) command, then we show, what's the requested brightness value. If the current brightness was not the same as the requested, we set the brightness.
You can print the current brightness with:
local currentBrightness = getWindowBrightness()
print(currentBrightness)
Make sure, that the currentBrightness is 100. Otherwise you set it before. Hope we find this