Im just after a bit of help setting up a command which will enable me to switch HDMI audio outputs with one click. I have 2 devices connected to 2 seperate TVs, 1 is through the CPU (I7) and the other is my GPU (gtx1080). At present i move Kodi to which ever TV i need it on and then have to go through the settings to change audio output. I have made this simpler by adding a shortcut on my Kodi homescreen but would like that shortcut gone.
I have no real knowledge on this sort of thing but can learn if given a bit of help. I have managed to create a command that switches to the CPU Audio but cannot figure out how to switch it to the GPU. This was purely done by googling and trying things.
I have used the following
This switches me back to the CPU Hdmi audio with no issue
If anyone can nudge me in the right direction i would massively appreciate it and please don’t think i haven’t been researching as i genuinely have and to be honest i think ive mangled my head a bit going of on different lines lol
happy new year