From da0441ad597dc92b916fdec1fa40f35518d2993b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 12 Nov 2025 22:20:24 -0600 Subject: feat(music): migrate from MPD to Mopidy for better streaming support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enhanced MPD config with 16 MB buffer and 30s curl timeout - Discovered buffer_before_play is deprecated in MPD 0.24.6 - Installed Mopidy with mopidy-mpd extension for MPD protocol compatibility - Configured Mopidy with 15-second GStreamer buffer for smooth radio streaming - Analyzed network quality: baroque sonatas radio has 40ms jitter from Germany MPD limitations: - No pre-buffer control for streams (buffer_before_play deprecated) - Fixed 512 KB curl buffer (not configurable) - No replacement for pre-buffering functionality Mopidy configuration: - buffer_time: 15000ms (15 seconds) - stream timeout: 30000ms - MPD protocol on port 6600 (existing clients work) - HTTP interface on port 6680 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- dotfiles/system/.config/mpd/mpd.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles/system/.config/mpd') diff --git a/dotfiles/system/.config/mpd/mpd.conf b/dotfiles/system/.config/mpd/mpd.conf index d1c6208..d084cb2 100644 --- a/dotfiles/system/.config/mpd/mpd.conf +++ b/dotfiles/system/.config/mpd/mpd.conf @@ -132,6 +132,9 @@ auto_update "yes" # #auto_update_depth "3" # +# Buffer settings for smooth streaming +audio_buffer_size "16384" # 16 MB buffer (default 4096 KB) +# ############################################################################### @@ -193,6 +196,7 @@ auto_update "yes" input { plugin "curl" + timeout "30000" # 30 second timeout for connections # proxy "proxy.isp.com:8080" # proxy_user "user" # proxy_password "password" -- cgit v1.2.3