Skip to content

andrewn/librespot-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

librespot-docker

Docker images for librespot's Spotify client library.

Features

  • Multiple architectures supported: linux/arm/v6, linux/arm/v7, linux/arm64 and linux/amd64.
  • Versioned images: each librespot release gets built and a new image tag is added. Previous images are not deleted.
  • Minimal footprint: uses balenalib alpine base images for lightweight images

Note: These images were built to be used mainly with balenaOS however they can be used with any other OS without problem. If further instructions are needed please open an issue.

Usage

Images are built and published to Docker Hub. The following images are available:

  • With alsa-backend: tmigone/librespot:<version>
  • With pulseaudio-backend: tmigone/librespot:<version>-pulseaudio

For a detailed list of available tags visit: https://hub.docker.com/r/tmigone/librespot/tags

docker-compose.yml

version: '2'

volumes:
  spotifycache:

services:

  spotify:
    image: tmigone/librespot:0.3.1
    privileged: true
    network_mode: host
    command: /usr/bin/librespot
    volumes:
      - spotifycache:/var/cache/raspotify

Extend dockerfile

FROM tmigone/librespot:0.3.1-pulseaudio
ENV PULSE_SERVER=tcp:localhost:4317

CMD [ "/usr/bin/librespot", "--name=spotiplayer" ]

Options

For more information about the available options, please refer to the librespot documentation.

About

Docker images for librespot's Spotify client library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 100.0%