Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1022 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 1022 Bytes

RFID BT Raspberry Pi Jukebox

Jukebox that uses a PN532 reader and Mifare Classic1k RFID cards to control spotify playback.

This is for a project that is enclosed in a DIY bluetooth speaker system with Librespot as Spotify Connect client and Pulseaudio as bt-audio backend.

Hardware requirements

Usage

git clone https://github.com/chrisjtwomey/pi-rfid-jukebox.git
cd pi-rfid-jukebox
pip3 install -r requirements.txt

echo "export SPOTIPY_CLIENT_ID=<XXXX>" >> .env
echo "export "SPOTIPY_CLIENT_SECRET=<XXXX>" >> .env
echo "export "SPOTIPY_REDIRECT_URI=http://<your hostname>:8080/callback" >> .env
source .env

python3 jukebox.py

Place RFID cards with Spotify playlist URIs embedded within to have Spotify play that playlist.