Skip to content

Instantly share code, notes, and snippets.

@tqh
Created June 7, 2020 15:43
Show Gist options
  • Save tqh/44a53be9dfbde829af50240054b96d48 to your computer and use it in GitHub Desktop.
Save tqh/44a53be9dfbde829af50240054b96d48 to your computer and use it in GitHub Desktop.
Spotifyd config
[global]
volume_controller = alsa_linear
device_name = HifiBerry
bitrate = 320
cache_path = /var/cache/spotifyd
device_type = speaker
[Unit]
Description=A spotify playing daemon
Documentation=https://github.com/Spotifyd/spotifyd
Wants=sound.target
After=sound.target
Wants=network-online.target
After=network-online.target
[Service]
User=spotifyd
CacheDirectory=spotifyd
ExecStart=/usr/bin/spotifyd --no-daemon
Restart=always
RestartSec=4
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment