Streams internet radio to a dlna player. Supports transcoding.
1.6K
Stream internet radio to DLNA devices with automatic format detection and smart transcoding.
Latest: v0.5 - See CHANGELOG for release notes.
http://localhost:5000 - test API endpoints and manage devicesdlna.default_device_ip configdocker run -d \
--name stream-to-dlna \
--network host \
-v $(pwd)/config.yaml:/app/config.yaml:ro \
-v $(pwd)/data:/data \
erkalina/stream-to-dlna:latest
Or use docker-compose.yaml from the repository.
Create config.yaml:
radio:
default_url: "https://your-radio-stream.com"
# Optional: Auto-select DLNA device on startup
dlna:
default_device_ip: "192.168.0.100"
server:
host: "0.0.0.0"
port: 5000
streaming:
internal_port: 8080
mp3_bitrate: "128k"
# Persistent storage for device cache and stream format cache
storage:
data_dir: "/data"
stream_cache_ttl: 86400 # 24 hours
# Optional: API authentication
security:
api_auth_enabled: false
# api_key: "your-secret-key"
Device configuration is done via API.
Open http://localhost:5000 in your browser for the interactive development console:
Or use CLI/API directly:
# Get devices (force scan)
curl http://localhost:5000/devices?force_scan=true
# Select device by IP
curl -X POST http://localhost:5000/devices/select?ip=192.168.1.100
# Start playback
curl -X POST http://localhost:5000/play?streamUrl=https://stream.url
# Check status
curl http://localhost:5000/status
# Stop playback
curl -X POST http://localhost:5000/stop
See CHANGELOG for detailed release notes.
MIT License
Content type
Image
Digest
sha256:e725ce7b7…
Size
208.4 MB
Last updated
5 months ago
docker pull erkalina/stream-to-dlna