Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 703 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 703 Bytes

What is it

I have an older DAB Radio which support streaming from DLNA. This image contains a spotify to DLNA bridge based on librespot and pulseaudio-dlna

docker run --rm --net=host  <imagename>

Docker compose snipped

  spotifydlna:
    image: spotifydlna_ok
    container_name: spotifydlna
    restart: unless-stopped
    network_mode: host
    environment:
      - LIBRESPOT_NAME=spotifydlna
      - PULSEAUDIO_DLNA_OPTS=--codec wav --renderer-urls http://<dlna device ip>:8080/description.xml
      - LIBRESPOT_OPTS=-u login -p password
    extra_hosts:
      - "ap-gew4.spotify.com:104.199.65.124"

TODO

  • Reduce size by using a build container
  • Don't run everything as root