#2183·mopidy

Playback randomly stops

Author: blacklightCreated Feb 15, 2025Updated May 6, 2026
LabelsA-audio

Describe the bug

Music playback randomly hangs.

The state remains playing, but progress is stuck and no audio is played.

Playback resumes either by toggling pause/resume, or skipping a couple of seconds forward.

I've encountered this issue a couple of years ago too (probably due to some GStreamer issue), it was suddenly solved by a new version of Mopidy, but now it's back.

How to reproduce

I've managed to replicate the issue on Arch Linux so far. I have some Debian/RPiOS installations and they don't seem to be affected.

The issue initially occurred only on a RPi running Arch Linux ARM, so I thought it was ARM-specific, but after upgrading my laptop I can replicate it here too.

The issue also replicates with Mopidy 3.4.0, 3.4.1, 3.4.2, 3.4.3 and 4.0.0a2, both with the pacman versions and with the pip versions installed in a virtual environment, so I suspect it may be due to some changes in the underlying GStreamer dependencies.

I've managed to replicate it both with mopidy-tidal and mopidy-jellyfin.

Expected behaviour

...

Environment

  • Operating system: Arch Linux
  • Running Mopidy as a service or in the terminal? Both
  • Your config (output of sudo mopidyctl config)
[mpd]
enabled = true
hostname = 0.0.0.0
port = 6600
connection_timeout = 60

[tidal]
enabled = true
quality = LOSSLESS

[iris]
country = nl
locale = en_US

[soundcloud]
enabled = true
auth_token = ...

[http]
enabled = true
hostname = 0.0.0.0
port = 6680

[stream]
enabled = true
protocols =
    http
    https
    mms
    rtmp
    rtmps
    rtsp
timeout = 5000

[scrobbler]
username = ...
password = ...

[tunein]
enabled = true
timeout = 5000

[podcast]
enabled = true
browse_root = /home/blacklight/.config/mopidy/podcasts.opml
browse_order = asc
lookup_order = desc

[jellyfin]
hostname = https://...
username = ...
password = ...

[file]
enabled = true

[youtube]
youtube_dl_package = yt_dlp
api_enabled = true
youtube_api_key = ...
channel_id = ...
search_results = 20
playlist_max_videos = 1000

[funkwhale]
url = https://music.fabiomanganiello.com
client_id = ...
client_secret = ...

[local]
library = sqlite
scan_flush_threshold = 100
media_dir = /mnt/hd/media/music
playlists_dir = /mnt/hd/media/music/playlist
scan_timeout = 1000

[bandcamp]
identity = ...
  • Any specific hardware: the issue occurs both with Bluetooth speakers/headphones and with the built-in speakers.

GStreamer dependencies:

❯ pacman -Q | grep gst
clutter-gst 3.0.27-5
gst-libav 1.24.12-1
gst-plugin-pipewire 1:1.2.7-1
gst-plugins-bad 1.24.12-1
gst-plugins-bad-libs 1.24.12-1
gst-plugins-base 1.24.12-1
gst-plugins-base-libs 1.24.12-1
gst-plugins-good 1.24.12-1
gst-plugins-ugly 1.24.12-1
gst-python 1.24.12-1
gstreamer 1.24.12-1

Additional context

Not sure if this is a duplicate of https://github.com/mopidy/mopidy/issues/2180