Spotify app for M5Paper
-
Application to monitor and control a Spotify client using the M5Paper.
Note: This is not itself a Spotify client, it cannot stream Spotify through the M5Paper.Three screen layouts available, show below.
Initial Spotify authentication through a built-on webserver, then refresh token saved to EEPROM and should function independently.Polls Spotify to update data at one of two compile-time configurable rates, depending on whether there is currently an active Spotify device found or not. Shuts down after configurable interval with no active client found if running on battery.
You need to create a (free) developer account and client app with Spotify, and approve access of this application to your Spotify account.
Requested scopes are:
- user-read-private
- user-read-currently-playing
- user-read-recently-played
- user-read-playback-state
- user-modify-playback-state
Code available at https://github.com/murraypaul/M5Spot.
Based on original M5Spot project by Cosmic Mac available at https://github.com/CosmicMac/M5Spot.Icons by icons8.
-
This looks amazing, just what I need. Thanks!
Does it support multiple accounts or just one?
-
@bwubs Just one, which you have to specify when compiling the app.
-
I finally have some time to look into putting this on my m5paper, but i'm unable to compile it. I'm getting the following error message:
fatal error: WiFiMulti.h: No such file or directory
Do you have any idea whats going wrong? I've tried searching the web for WiFiMulti, but I cannot find the library it's part of.
Thanks!
-
@bwubs This is part of the arduino-esp32 package: https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi/src, you should have that installed already.