Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 710 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 710 Bytes

Spotify controller on Raspberry PI

Install on host

Place the script in your home directory

curl https://raw.githubusercontent.com/Qwiko/rpi-spotifycontrol/master/initialize.sh -O

sh ./initialize.sh

config.json

{
    "allowed_time": {
        "start": 6,
        "end": 20
    },
    "debug": false,
    "buttons": [
        {
            "spotify_uri": "",
            "pin": 17
        }
    ],
    "selected_device_name": "", // Exact name of the device to be controlled
    "client_id": "",
    "client_secret": "",
    "redirect_uri": "" // http://localhost:9000
}

Update

cd ~/rpi-spotifycontrol
git pull
sudo systemctl restart rpi-spotifycontrol.service