Moode audio

From sheep
Revision as of 19:23, 16 September 2026 by Martin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

to make spotify work again


vi /lib/systemd/system/librespot.service


change start line to:

ExecStart=/usr/bin/librespot --name "%H" --backend alsa --mixer softvol --enable-oauth --cache  /spoty-cache/


create directory

mkdir /spoty-cache

# fix the permissions, copy the contents of a successful auth into this folder or use the link from the output when the command runs

systemctl daemon-reload

systemctl restart librespot

journalctl -u librespot -n 50 --no-pager


the credentials file:

/spoty-cache/credentials.json

{"username":"<username>","auth_type":1,"auth_data":"<code goes here>"}


I used logged in using librespot locally and copied the directory - alternatively fix the port using `--oauth-port` and port forward