SpotiPy is a Python application that uses the Spotify API to display the currently playing song on a local Flask server. SpotiPy is designed to be used by streamers who want to display the currently playing song on their stream. It can be easily integrated into streaming software like OBS using the browser capture feature.
Before you can use SpotiPy, you will need to register an application with the Spotify Developer Dashboard to obtain a client ID and client secret. Follow these steps to get started:
-
Run the
setup.py
file to install the required dependencies -
Go to the Spotify Developer Dashboard and log in to your Spotify account (or create a new account if you don't have one).
-
Click the "Create An App" button and enter a name and description for your app.
-
Input http://(IP):8000/callback for the redirect URI. (IP) is the IP address of the machine running the SpotiPy server
e.g. http://192.168.0.1:8000/callback
you can find your ip address here -
Once your app is created, note the client ID and client secret that are provided.
-
Open the
.env
file in the SpotiPy directory and replace theCLIENT_ID
andCLIENT_SECRET
variables with the values from your Spotify app. -
Start the Flask server by running the following command:
python main.py
-
access your flask server from localhost:8000
-
follow the on screen instructions to authorise your app to access your Spotify account
- python 3.10
- pip installed to path
Contributors names
This project is licensed under the MIT License - see the LICENSE file for details