All the instructions in this thread are outdated. In theory, all you need to do is
sudo apt-get update
sudo apt-get install a2dp-app-osmc
However since the update to stretch/17.6 at the beginning of this month, bluetooth audio is not working as it used to. The exact reason is still being looked into.