Sign inSign up

jorenn92/snapserver

By jorenn92

•Updated over 5 years ago

Snapcast server with mopidy, spotify connect & bluetooth sink/source.

Image
0

1.2K

jorenn92/snapserver repository overview

⁠ Snapcast server with mopidy, spotify connect & bluetooth sink/source.

Bluetooth sink

  • Connect a BT device by calling <IP-ADRESS>:8025/api/v1/bluetooth/connect?mac=<BLUETOOTH MAC ADDRESS>
  • Disconnect a BT device by calling <IP-ADRESS>:8025/api/v1/bluetooth/connect?mac=<BLUETOOTH MAC ADDRESS>

While connected a snapclient will spawn playing audio. Only 1 connection is allowed at the same time.

Bluetooth source

Just connect your BT device and start playing music

Github

https://github.com/jorenn92/Snapserver⁠

Run command

docker run -dti --privileged --device /dev/snd --net=host --device /dev/bus/usb --name snapserver --cap-add NET_ADMIN -v /usr/apps/snapserver/conf/:/root/.config/snapserver/ -v /var/run/dbus:/var/run/dbus -v /etc/localtime:/etc/localtime:ro --restart unless-stopped jorenn92/snapserver

Extras

Disable bluetooth by adding the BLUETOOTH=false environment var.

Save BT connections by exposing the /var/lib/bluetooth dir.

Tag summary

Content type

Image

Digest

Size

443.2 MB

Last updated

over 5 years ago

docker pull jorenn92/snapserver