Mopidy Discourse

Mopidy/Iris won't play audio

Sorry folks, I’m new to using Discourse and Mopidy, so if I’m breaking conventions, just let me know. I’ve gone through the various issues that appear to be related, but nothing seems to work. Here’s where I’m at right now:

  • Raspberry Pi / HiFiBerry DAC+ running Bullseye.
  • I’ve tested VNC and Gstreamer cli commands, and my FLAC files play fine.
  • I’ve used the instructions on the Mopidy site to install Mopidy and Iris. The scanner seems to find all my tracks, and (at least for the first attempt) the Iris player seems to be working because it shows the track timing. However, no sound comes out.

sudo journalctl - u mopidy shows errors and info whenever the Play or Pause button in Iris is clicked.

Most of the error lines are repeats of:
ERROR [MainThread] mopidy.audio-gst GStreamer error: Could not get/set settings from/on resource
gst_caps_intersect_full: assertion ‘GST_IS_CAPS (caps2)’ failed
gst_mini-object_unref: assertion ‘mini_object != NULL’ failed

etc.

Has anyone got any idea what’s going on? Where should I be looking for the problem? How can I narrow this down? etc. with all the noob questions to get started…

Michael

Still trying a few things…

I think there’s a GStreamer permissions problem. On a couple of restarts of the mopidy server, the first track I tried would play. I can’t see any reason why this differs just because I was changing the logging level, so there was something related to the state of the system.

I notice that the activity light on the HiFiBerry does go on when I try to play a track, but the track still doesn’t play, and the system keeps throwing these errors:

Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_caps_intersect_full: assertion 'GST_IS_CAPS (caps2)' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: ERROR    [MainThread] mopidy.audio.gst GStreamer error: Could not get/set settings from/on resource.
Dec 23 19:32:34 raspberrypi mopidy[19348]: gst_mini_object_unref: assertion 'mini_object != NULL' failed
Dec 23 19:32:34 raspberrypi mopidy[19348]: INFO     [HttpServer] mopidy_iris.core Updating Snapcast stream metadata: http://localhost:1780/jsonrpc
Dec 23 19:32:34 raspberrypi mopidy[19348]: ERROR    [HttpServer] mopidy_iris.core [Errno 111] Connection refused