• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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
5 Posts 3 Posters 536 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 Jan 12, 2023, 3:19 PM

    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 Aug 17, 2023, 6:24 PM Reply Quote 0
    • R Offline
      Rolandochambers
      last edited by Aug 12, 2023, 4:02 AM

      did you fix the problem?

      R 1 Reply Last reply Aug 17, 2023, 7:25 AM Reply Quote 0
      • R Offline
        Rolandochambers @Rolandochambers
        last edited by Aug 17, 2023, 7:25 AM

        @Rolandochambers help me

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE @J2k3000
          last edited by Aug 17, 2023, 6:24 PM

          @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”?

          1 Reply Last reply Reply Quote 0
          • R Offline
            Rolandochambers
            last edited by Aug 18, 2023, 4:04 AM

            i will try

            1 Reply Last reply Reply Quote 0
            • 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