Open Fabio2711 opened 1 year ago
Hello, the command "--lg-preset" should be "--lgpreset". I think I might accidently wrote that in a reply at another issue, so maybe that's where you picked that up. I've updated the Readme to explain the command line interface: https://github.com/Maassoft/ColorControl#command-line-interface
Your second question: To execute a preset automatically when a program starts you'll have to configure the trigger settings. Set Trigger to "Process switch" and add "kodi" (or whatever the name of the process executable is, without extension) to the "Included processes". That should be the bare minimum. After that you can fine tune it using conditions and adding a preset that resets to the "default" settings when Kodi stops running.
Hello, thanks for your answer.
Yes, I found the command here in the issue thread and copied it. I have now tested it as you wrote me and it works perfectly.
To execute the preset automatically works but only once. In order for it to work again, I have to close and reopen ColorCentral. If i start ColorCentral and start Kodi it works fine. But if i close Kodi and restart Kodi while ColorCentral is open it dont work. When i close ColorCentral and start it again and start Kodi it works.
To switch back to PC Mode when i close Kodi should i change something in the PC Mode Preset like excluded Processes?
Thanks in advance!!!
What you can try is setting a trigger to the "PC Mode" preset as well, but use "*" as included processes. This will then be triggered after Kodi exits.
Nice it works :D but i use a dual monitor setup. LG Oled + Gaming Monitor. and when im with the mouse on the lg while kodi is open it switches to HDMI Mode but when i go with the mouse to the monitor it switches to PC Mode. is there no solution so that pc mode is only selected when kodi is closed?
thank you so much for your help and for your work you put in this project :D
You could try a different approach, via the game launcher. I made a shortcut to open the game launcher-Quick Access, and I always launch games /apps that need something triggered from there. I find it more reliable. For example, You could add kodi as a "game", then in the pre-launch steps add Your "HDMI mode" LG preset, and in the Finalize steps (that means it will trigger something You put here, when u exit kodi process) add Your "PC mode" as a step . When u save, check the Quick Access checkmark. The only condition after is to launch kodi via ColorControl ( if u made a shortcut to the "Quick Acces" from the GameLauncher tab even better, You can start Your program from there) . I dont know it it works for You, it should.
Hello,
Hope someone can help me with my problem. HDMI and PC mode switch works fine. Would now like to create a command line. when I enter CMD ColorControl.exe --lg-preset "HDMI Mode" ColorControl opens but nothing happens. Another question would it be possible to create a command that when I open Kodi a preset is set at the same time? thanks for your help and thanks for the tool