-
no problem on this side of system understanding :). What I do want is to play music on the speakers connected to my raspberry pi.
-
I tried to launch mopidy with -v, and I got an error when I try to play :
WARNING 2019-07-03 16:28:31,066 [12970:Audio-2] mopidy.audio.actor
Setting GStreamer state to GST_STATE_PLAYING failed
ERROR 2019-07-03 16:28:31,068 [12970:MainThread] mopidy.audio.gst
GStreamer error: gst-resource-error-quark: Could not open audio device for playback. (6)
WARNING 2019-07-03 16:28:31,071 [12970:Core-10] mopidy.core.tracklist
Track is not playable: spotify:track:773xZHHSHJvC1z3AAtWgH6
when I try to test sound, I get :
aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
(same result with sudo)
and when I try
gst-launch-1.0 audiotestsrc ! audioresample ! autoaudiosink
I get
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: Failed to connect: Access denied
Additional debug info:
pulsesink.c(615): gst_pulseringbuffer_open_device (): /GstPulseSink:autoaudiosink0-actual-sink-pulse
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
and nothing more.
I know the sound system is working because with my previous mpd install, I can have music. But not from mopidy for now.