Skip to content

Latest commit

 

History

History
45 lines (44 loc) · 1.46 KB

README.md

File metadata and controls

45 lines (44 loc) · 1.46 KB

Spotipi

Overview

This project is to display information on 32x32 led matrix from the Spotify web api.

Getting Started

  • Create a new application within the Spotify developer dashboard
  • Edit the settings of the application within the dashboard.
  • Before logging into the raspberry pi, you will need to generate an authentication token.
  • To do this, you are going to want to clone my spotipi repository on your main computer with access to a web browser.
git clone  https://github.com/ryanwa18/spotipi.git
  • Next go ahead and change into the directory using
cd spotipi
  • Run the generate token script and enter the prompted spotify credentials using
bash generate-token.sh
  • This will generate a file named .cache-<username>
  • You are going to want to scp this file over to your raspberry pi, for example:
scp .cache-<username> [email protected]:/home/pi
  • Clone the repository to your raspberrypi
git clone https://github.com/ryanwa18/spotipi.git
  • Move the token file to the repository root
mv <path_to_cache_file> <path_to_cloned_repository>
  • Install the software:
cd spotipi
sudo bash setup.sh
  • Edit settings on the web app:
navigate to http://<raspberrypi_hostname or ip_address> within a web browser

Final Product