A websocket server for talking with the Spotify API with a Resonite websocket client item to compliment it

Here's the Resonite record link for the Resonite Spotipy audio player:
resrec:///U-JayKub/R-CAF0B1B9598EF23797BE641C09DBBD3905EA75224EBD0F7F08F2AD4B61579001
You'll need these Python packages: websockets, asyncio, spotipy. You'll also need Python 3.9 at least.
- To install these, run this command:
pip install websockets asyncio spotipy
You'll need Spotify Premium to be able to do this!
- Go to the Spotify Developer Dashboard: https://developer.spotify.com/dashboard
- Click on "Create app"
- Give it a name, description, and ensure that you have a redirect URL for the application (I recommend putting both of these in: "http://localhost:8000/callback" and "http://localhost:8000")
- Once created, go to the application's Settings panel
- Here's where you'll find the application's Client ID and, by clicking on the "view client secret" button, the Secret ID
- Download the ZIP package in the files and unzip it
- In the IDs.txt file, paste in your Spotify application's Client ID, Secret ID, and a Redirect link you're using for your application. Also put in the callback link as the redirect URI and the port ID you'll be using for Resonite
- The port ID should not be the same ID as the ID you use for the callback link (if you use http://locahost:8000/callback as your link, don't use port 8000 for the websocket)
- Run the Python file in a terminal with
.\ResoniteSpotipy.pyorpy ResoniteSpotipy.py, or run it through an IDE like VSCode
- Spawn out the item from the folder
- Click on the Spotify tab to link up the player to the websocket server
- Make sure you supply the same port ID as the one you're using for the websocket server!
| Working On | Progress | Version |
|---|---|---|
| Displaying album tracks & playing a specific album track | ✔️ Completed | v1.1 |
| Displaying playlist tracks & playing a specific playlist track | ✔️ Completed | v1.1 |
| Player for only displaying currently playing song | ✔️ Completed | v1.1 |
| Searching artists & displaying artist profile | 📝 Planned | v1.2 |
| UI overhaul for the player | 📝 Planned | v1.2? |
| Song queueing system on the player | 📝 Planned | v??? |