Hi there, I have successfully installed Mopidy on my local machine, but when I play a song, no sound comes out. If I run
gst-launch-1.0 audiotestsrc ! autoaudiosink I get an audible tone. If I run `sudo journalctl -u mopidy, I see this at the bottom of the logs:
Dec 04 09:52:45 terminal mopidy: AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory Dec 04 09:52:45 terminal mopidy: WARNING [MainThread] mopidy.audio.gst GStreamer warning: Failed to connect: Connection refused
If I run
groups mopidy I get
mopidy : audio. In /etc/mopidy/mopidy.conf I had:
[audio] output = autoaudiosink
And I also set it to alsasink but I can’t remember the full line. And I’ve left this out entirely. Leaving it blank or setting it to autoaudiosink generates the same warning in the logs. I’m also getting these lines in the logs:
Dec 04 09:39:31 terminal mopidy: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed Dec 04 09:39:31 terminal mopidy: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.
Dec 04 09:37:32 terminal mopidy: error: XDG_RUNTIME_DIR not set in the environment.
Dec 04 09:37:38 terminal mopidy: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback.