🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Spotify app for M5Paper

    Scheduled Pinned Locked Moved PROJECTS
    7 Posts 4 Posters 15.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      murraypaul
      last edited by

      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.

      Landscape, big art
      Landscape, small art
      Portrait, big art

      1 Reply Last reply Reply Quote 0
      • B Offline
        bwubs
        last edited by

        This looks amazing, just what I need. Thanks!

        Does it support multiple accounts or just one?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          murraypaul @bwubs
          last edited by

          @bwubs Just one, which you have to specify when compiling the app.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bwubs
            last edited by

            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!

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              murraypaul @bwubs
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • R Offline
                roncolony
                last edited by

                I have been trying to get this project up and running for a few days. I had to change the definition of the version in the code and then I was able to flash the code successfully via the Arduino IDE.
                Now I have problems with the refresh token. Has anyone used the code again? Were there any adjustments in the API that I overlooked?
                I think this project is totally cool, but I can't get it to run properly. Would be grateful for any help.
                Kind regards

                1 Reply Last reply Reply Quote 0
                • E Offline
                  enzo5
                  last edited by

                  How can I create an M5Paper app to monitor and control a Spotify client (without streaming) that features three screen layouts, authenticates via a built-in web server, and saves the refresh token to EEPROM? It should poll Spotify at configurable rates and shut down after a set time without an active client. I’ll need to set up a Spotify developer account for specific scopes while highlighting Spotify Premium benefits and providing a download link. The code is available at https://github.com/murraypaul/M5Spot, based on Cosmic Mac's original project.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post