Have a speaker that is able to connect to Spotify inside a docker container.
Go to file
2023-11-07 18:19:27 +01:00
.drone.yml initial commit 2022-02-06 00:52:44 +01:00
build.sh updated to include a automatic restart script 2023-11-07 18:19:27 +01:00
docker-compose.yml updated to include a automatic restart script 2023-11-07 18:19:27 +01:00
Dockerfile updated to include a automatic restart script 2023-11-07 18:19:27 +01:00
main.go updated to include a automatic restart script 2023-11-07 18:19:27 +01:00
README.md updated to include a automatic restart script 2023-11-07 18:19:27 +01:00
start.sh updated to include a automatic restart script 2023-11-07 18:19:27 +01:00

Spotifyd docker (for armv7)

Spotifyd docker image made for the Raspberry Pi (but works on other armv7 devices too).

Repo

Docker Hub

Run spotifyd inside docker. Inspired by GnaphronG/docker-spotifyd.

Setup

You need to add the /dev/snd to the container.

Check out the docker-compose.yml for an example.

Configuration

Following variables are available. See the spotifyd doc for more information.

USERNAME Required. Spotify username.

PASSWORD Required. Spotify password.

DEVICE_NAME Name of the device. Default: "Spotifyd"

VOLUME_NORMALISATION If set to true, enables volume normalisation between songs.

NORMALISATION_PREGAIN The normalisation pregain that is applied for each song.

BITRATE The audio bitrate. 96, 160 or 320 kbit/s.

DEVICE_TYPE# The displayed device type in Spotify clients. Can be computer, tablet, smartphone, speaker, tv, avr, stb, audiodongle.

INITIAL_VOLUME Volume on startup between 0 and 100.

USE_MPRIS Set to true to enable MPRIS support. You need to add the dbus socket to the container. Default: false.

EXTRA_ARGS Additional arguments passed to spotifyd.