Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

HomePod Connect Docker Image

This is the official Docker image of the Home Assistant add-on HomePod Connect. You can also use it by itself on other systems. It works out of the box with zeroconf and can be discovered inside your local network.

Difference to owntone/owntone

This image adds librespot to the official OwnTone container. librespot appears on the network as a Spotify Connect speaker and writes the audio into a named pipe (/music/Spotify) that OwnTone plays, which lets you send Spotify to HomePods over AirPlay.

Both run as OpenRC services, the same supervisor the base image already uses for OwnTone, avahi and dbus.

Track title, artist, album and cover art are forwarded to OwnTone by librespot-metadata, a --onevent hook that writes Shairport Sync style metadata into /music/Spotify.metadata.

The changes can be viewed inside the Dockerfile.

Before OwnTone 29 this image was based on linuxserver/daapd and used librespot-java. LinuxServer deprecated that image, and librespot-java has had no release since the Spotify API changes of 2025.

Usage

docker pull ghcr.io/alexanderbabel/owntone:VERSION

Run the image:

docker run --network=host -v $(pwd)/config:/config ghcr.io/alexanderbabel/owntone:VERSION

Access

You can access the OwnTone instance on the default port (3689).

Configuration

Configuration lives in /config/owntone, seeded on first start and never overwritten afterwards:

Both files work out of the box as a Spotify Connect speaker. Restart the container after changing them.

Tests

docker build -t owntone .
docker run --rm -v "$PWD/test-metadata.sh:/t.sh:ro" --entrypoint sh owntone /t.sh