Hey all, been pulling my hair out on this issue I’ve been having. I’ve got it all setup, can go into a web client and queue stuff from soundcloud, but there’s no sound.
gst-launch-1.0 audiotestsrc ! autoaudiosink
and
aplay /usr/share/sounds/alsa/Front_Center.wav
both produce sound, but when queuing anything local or online there’s nothing. I am using analog output, gstreamer1.0-alsa is installed, and here is my config
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging.conf
[audio]
mixer = alsamixer
mixer_volume = 100
output = alsasink
buffer_time =
[proxy]
scheme = http
hostname = kyles-pi
port = 6680
username =
password =
[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL
[material-webclient]
enabled = true
config_file = /etc/mopidy/mopidy.conf
[alsamixer]
enabled = true
card = 0
control = PCM
[soundcloud]
enabled = true
explore_songs = 25
auth_token = ********
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /var/lib/mopidy/playlists
[softwaremixer]
enabled = false ; Extension disabled by user config.
[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.jpg
.jpeg
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[local]
enabled = false ; Extension disabled by user config.
I have tried multiple webclients, autoaudiosink, alsasink, software mixer, alsamixer, all sorts of combinations, nothing seems to be producing any sound. aplay -l output just in case:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Quick edit: the log shows
2017-04-15 21:49:51,095 ERROR [2749:MainThread] mopidy.audio.gst: GStreamer error: gst-resource-error-quark: Method Not Allowed (5)
every time I queue a song