Skip to content

Displays current song's cover art the 8x8 Sense HAT matrix.

License

Notifications You must be signed in to change notification settings

PineappleSnackz/spotipi-sensehat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotipi

Overview

This project is to display information on the 8x8 sense HAT 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/PineappleSnackz/spotipi-sensehat.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/PineappleSnackz/spotipi-sensehat.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

About

Displays current song's cover art the 8x8 Sense HAT matrix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.7%
  • Shell 26.3%
  • HTML 25.7%
  • CSS 0.3%