autoConnect AND switch audio outPut for blueTooth headphones

  • in an effort to keep the wife & our new weee one happy i picked up some cheap BT headphones from amazon.

    they work, but the process is pretty cumbersom and deffently without any WAF

    • addons > libreElec > blueTooth > Connect
    • settings > system > audio > pulse
    • ... passThrough=off

    then when done, i have to set it back ... device=HDMI/passThough=on

    perhaps there's a way a remote button (via runScript) can do these steps ? or has anyone found a better solution ?