hi,
in my mind this guy tric is to complicate.
Just do this , that would work easy
sudo apt-get update
sudo apt-get install
sudo apt-get install bluez pulseaudio pulseaudio-module-bluetooth
sudo bluetoothctl -a
once you are on bluetoothctl app, just make this
agent on
default-agent
scan on
wait for your device to show and make it discoverable
then
trust YOURMACADR
pair YOURMACADR
connect YOURMACADR (i think you can direct connect your device, but without trust it, it won’t reconnect at reboot)
Then when bluetoothctl says you’re connect, you have to select via KODI Options the audio output Pulse !
And that work ,
no need to edit some files or thing in the system, all is already here !
sorry for my poor english , that’s not my tongue ! i’ll do my best