Project Overview • Key Features • How To Use • Download • Related • License
- Initialization and configuration of an NFC reader
- Initialization of a Sonos sound system and Spotify
- Detecting NFC tags and reading their NDEF [NFC Data Exchange Format] records
- Extracting Spotify URIs from the NDEF [NFC Data Exchange Format] records
- Check Connections To Minimize Your Time Troubleshooting
- Clearing the current Sonos queue
- Sending commands to Sonos system to play music linked by the Spotify URIs
- Retrieving album cover URLs via Spotify API
To clone and run this application, you'll need Python and PIP (which comes with Python installed on your computer.
From your command line:
# Clone the SLP repository
$ git clone https://github.com/yet-it-compiles/Raspberry-Pi-Vinyl-Emulator
# Navigate into the repository
$ cd Raspberry-Pi-Vinyl-Emulator
# Ensure you have Pyton 3.11.3+ installed
python --version
>> Python 3.11.3
# Ensure you have PIP 23.1.2+ installed
pip --version
>> pip 23.1.2 from C:\Users\...
# Install the required dependencies
$ pip install requests
$ pip install nfcpy
$ pip install spotipy
# Run the app
You can download the latest version here.
This software uses the following open source packages:
This software is governed by the MIT License.
(C) 2023 Tyler S. Unsworth (a.k.a. yet-it-compiles)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.