#2175·mopidy

Follow redirects for streaming URLs

Author: StMartin81Created Dec 29, 2024Updated Sep 23, 2026
LabelsA-ext-stream

Currently the streaming plugin of mopidy doesn't follow redirects. I've tried to fix this behavior here: https://github.com/StMartin81/mopidy/tree/follow_redirects_for_streams

Tested with:

bash
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.tracklist.add", "params": {"uris":["https://absolut-rock.live-sm.absolutradio.de/absolut-rock"]}}' -H 'Content-Type: application/json' http://localhost:6680/mopidy/rpc
curl -d '{"jsonrpc": "2.0", "id": 1, "method": "core.playback.play"}' -H 'Content-Type: application/json' http://localhost:6680/mopidy/rpc