Hi everyone,
My setup is Raspberry Pi 2 with Raspbian operating system. Together with Mopidy running as a service I also use Kodi on that device. Unfortunately Kodi cannot play sounds or has another issues when Mopidy is running and both are using Alsa output. So I installed pulseaudio to cope with this problem. But when I set:
[audio] output = pulsesink
in mopidy.conf then I cannot play anything with Mopidy. The following error messages are in mopidy log:
2016-02-23 20:39:16,285 ERROR [484:MainThread] mopidy.audio.gst: GStreamer error: gst-resource-error-quark: Failed to connect: Connection refused (1) 2016-02-23 20:39:16,289 WARNING [484:Audio-2] mopidy.audio.actor: Setting GStreamer state to GST_STATE_PLAYING failed
I also found this in /var/log/messages, but don’t know whether it is somehow related:
pulseaudio[1798]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
pulseaudio[1798]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Kodi is able to play sound using pulseaudio flawlessly. For any help will be very grateful!
Many thanks,
Stan