Bluetooth audio auto connect

Hi,

please, enable feature to automatically connect to a Bluetooth audio when headphones are available. This is the first Bluetooth device that is not able to do that in my life :slight_smile: Would it be possible?

Thank you for understanding

I think you need some better headphones, my Bose QC35 MKII already automatically connect when available.

don’t think … it does not automatically connect and switch audio to bluetooth (as the only device in my life does not do that) even when connected with my 200 EUR headphones, I think its not a fault of my expensive and never problematic head phones :slight_smile:

what settings have you applied?

of course the plugin for that does not work and audio profiles are not so convenient

btw, great work with CE in general!.. cannot live without nowadays … just would make better recording with conditions :slight_smile:

You can use my solution. Mine blog is in Russian, so please use Google Translate. Or just download two files via the link below the article and put them to /storage/.config/udev.rules.d without reading :slight_smile: Fell free to ask me a question here if you’ll get lost.

3 Likes

It would be nice to know if it helped someone :wink:

1 Like

I’ve been using a toggle script and I’ve had it mapped to some key on the keyboard/remote.
Your script is definitely more convenient, thanks for sharing!

thx my Slavic brother! :slight_smile:
do you think it works independently of a hardware, MeCool KIII?

I think this should be implemented in CE and should work out of the box :slight_smile:

edit: yes, it works, thank you! And now just what to do when MeCool does not auto connect to my headphones (very good ones) automatically?

thx

Iirc there is or was an kodi addon in our repo for this

Edit : there is https://github.com/CoreELEC/CoreELEC/blob/coreelec-9.0/packages/addons/service/bluetooth-audio/package.mk

1 Like

Thanks, I even had it installed. I thought it didn’t work and used my toggle script instead but now I realized it was incorrectly configured. It has one setting and I had managed to get it wrong. :man_facepalming:

Nice, thank you! I made my script about 1.5 years ago when there wasn’t any other solution, but seems i published it too late :slight_smile: This plugin definitely the much more convenient solution!

whatever works best. It’s nice to have alternatives.

didn’t work for me, just freezed my Kodi all the time

maybe I just configured it wrongly … I use just hdmi and Bluetooth

It’s pretty hard to misconfigure this plugin :slight_smile: It has only one option - “Audio Device”, which should be set to default “ALSA:default”.

so it does not work, freezes my Kodi every time I get into the Bluetooth devices … later will try create the logs

1 Like

I have the same problem. When using the addon mentioned above, Kodi freezes when trying to list Bluetooth devices. Did you manage to overcome this issue?

1 Like

Same thing here.
And since the source does not auto-change back when bt is disconnected i quit using it.
The concept is nice, though!

1 Like

Hi,

please, Kodi freezes when the bluetooth audio swither is installed, please have a look at that:

  1. Audio does not auto connect (100% not a problem of the non cheap headphones)
  2. Cannot escape from that screen with Android app remote, have to restart Kodi

I bet everyone has problem with that (MeCool KIII):
here

Logs

better kodi logs here

Did anyone manage to solve tthis? Do you know if it works with CE 9.0.3?

no, still broken, still have to connect manually and still the script from @vevs needed