MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Spotify

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 3 Posters 1.3k Views 3 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.
    • J Offline
      J2k3000
      last edited by

      first of all great module. i got it working.
      except for the when i send this notification with MMM-Remote-control:
      http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh

      this translates in :
      “notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”

      in the debug i get this:

      [12.01.2023 16:12.18.469] [ERROR] [SPOTIFY - **] Failed to request API: /v1/me/player
      [12.01.2023 16:12.18.470] [ERROR] [SPOTIFY - **] Invalid response
      [12.01.2023 16:12.18.471] [ERROR] [SPOTIFY - **] Response error code: 503
      [12.01.2023 16:12.18.471] [ERROR] [SPOTIFY - **] Response error text: Service Unavailable
      [12.01.2023 16:12.18.472] [DEBUG] [SPOTIFY - **] Response error data: { error: { status: 503, message: ‘Service unavailable’ } }
      [12.01.2023 16:12.18.474] [DEBUG] [SPOTIFY - **] Response error headers: {
      ‘cache-control’: ‘private, max-age=0’,
      ‘access-control-allow-origin’: ‘*’,
      ‘access-control-allow-headers’: ‘Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token’,
      ‘access-control-allow-methods’: ‘GET, POST, OPTIONS, PUT, DELETE, PATCH’,
      ‘access-control-allow-credentials’: ‘true’,
      ‘access-control-max-age’: ‘604800’,
      ‘content-length’: ‘76’,
      ‘strict-transport-security’: ‘max-age=31536000’,
      ‘x-content-type-options’: ‘nosniff’,
      vary: ‘Accept-Encoding’,
      date: ‘Thu, 12 Jan 2023 15:12:17 GMT’,
      server: ‘envoy’,
      via: ‘HTTP/2 edgeproxy, 1.1 google’,
      ‘alt-svc’: ‘h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000’,
      connection: ‘close’

      What am i doing wrong ?

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

        did you fix the problem?

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

          @Rolandochambers help me

          1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @J2k3000
            last edited by

            @J2k3000 said in MMM-Spotify:

            http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh

            this translates in :
            “notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”

            Maybe “SPOTIFY_PLAY”, not “SPOTIFY_PIAY”?

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

              i will try

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rolandochambers @MMRIZE
                last edited by

                @MMRIZE said in MMM-Spotify:

                @J2k3000 said in MMM-Spotify:

                http://ip:port//api/notification/SPOTIFY_PlAY?context_uri=spotify:track:4iV5W9uYEdYUVa79Axb7Rh

                this translates in :
                “notification”:“SPOTIFY_PlAY”,“payload”:{“context_uri”:“spotify:track:4iV5W9uYEdYUVa79Axb7Rh”

                Maybe “SPOTIFY_PLAY”, not “spotify premium apk_PIAY”?

                thank

                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
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy