LG webOS change source type

I have PC connected to HDMI 1 so I set source type for this input as PC.
When I running Kodi player to watch a movie I want change source type to BD Player to have access to TruMotion and Real Cinema options. Is there a way to make HA automation for implement this task?