I have a fully-operational OSMC 4.4 and Mopidy 2.0 RaspberryPI 2 by following these steps:
- Install mopidy
apt-get install Mopidy - Add mopidy repo GPG key
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add - - Add repo
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessie.list - Update
apt-get updateand installapt-get install Mopidy-Spotify - Install cffi
apt-get install python-cffi - Install gstreamer-alsa
apt-get install gstreamer1.0-alsa gstreamer1.0-tools - Install Spotify
pip install Mopidy-Spotify - Run mopidy
mopidyto create your default configuration file, and then close. Edit the config (ie~/.config/mopidy/mopidy.conf) and set[audio] output = alsasink - [optional] install Spotmop web interface
pip install Mopidy-Spotmop
Please note that as mentioned, to avoid audio device conflicts, you need to STOP mopidy’s currently playing track prior to playing any media with Kodi. Ie mpc stop.