Skip to content

Build your own album pixel art display which display the actual track from your Spotify Connect receiver.

License

Notifications You must be signed in to change notification settings

Pfleiderer-Adrian/PixelArt_x_Spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixelArt x Spotify

Show the actual Album Cover of your Spotify Connect receiver on your Pixoo64 Pixel Display.

HTML ERROR

Requirements

Installation

  1. Install Raspotify on your receiver device (e.g. RPi3).

  2. Clone the repo into the Raspotify receiver device (e.g. RPi3) under /usr/bin/{Repository-Folder}.

cd /usr/bin
sudo git clone https://github.com/Pfleiderer-Adrian/PixelArt_x_Spotify
  1. Create a virtual enviroment and install the requirements.
cd /usr/bin/PixelArt_x_Spotify
sudo python3 -m venv env
source env/bin/activate
sudo pip install -r requirements.txt
  1. Make launcher.sh and main.py executabel
cd /usr/bin/PixelArt_x_Spotify
sudo chmod +x launcher.sh
sudo chmod +x main.py
  1. Edit the config.py file in the repo folder.
config = {
    "SPOTIPY_CLIENT_ID": 'your_spotify_client_id',
    "SPOTIPY_CLIENT_SECRET": 'your_spotify_client_secret',
    "PIXOO_IP": "your_static_pixoo_ip",
}

The first two entrys are the API credentials from your Spotify app. Therefore create a spotify development account and register your app for api access (both free). The PIXOO_IP is your static IP for your pixoo64 device in your network. You find the pixoo64-IP in your router admin center. Maybe you must make the ip static in your router settings.

  1. Install tkinter for the pixoo libary.
sudo apt-get install python3-tk
  1. Add the following at the end of your respotfy-config in /etc/raspotify/conf:
LIBRESPOT_ONEVENT="/usr/bin/PixelArt_x_Spotify/launcher.sh"
  1. Restart Raspotify
sudo systemctl restart raspotify.service

Troubleshooting

Check the Raspotify logs for crashes.

sudo journalctl -u raspotify -b

About

Build your own album pixel art display which display the actual track from your Spotify Connect receiver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published