Skip to content

RPi tjänst som kan starta Spotify från GPIO knapptryck

Notifications You must be signed in to change notification settings

Qwiko/rpi-spotifycontrol

Repository files navigation

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

About

RPi tjänst som kan starta Spotify från GPIO knapptryck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published